> For the complete documentation index, see [llms.txt](https://www.rforseo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.rforseo.com/ressources/types-class.md).

# Types / Class & packages x

Its good practice to check that you are dealing with

## How do you check an object type?

&#x20;you should use a *class* function(). here are some examples

```r
x <- 2
class(x)
# should display "numeric"

y <- "2"
class(y)
# should display "character"
```

## the classic types

### data frames

### xml\_document

## advanced types
