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

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

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

the classic types

data frames

xml_document

advanced types

Last updated