Types / Class & packages x
⚠️ THIS IS A WORK IN PROGRESS
Its good practice to check that you are dealing with

How do you check an object type?

you should use a class function(). here are some examples
1
x <- 2
2
class(x)
3
# should display "numeric"
4
5
y <- "2"
6
class(y)
7
# should display "character"
Copied!

the classic types

data frames

xml_document

advanced types

Classic Packages

Lubridate

Last modified 8mo ago