Data types

coerce object to numeric

as.numeric()

{base}

determine if input is of type factor

is.factor()

{base}

equal to

==

{base}

determine if input is of type character

is.character()

{base}

coerce object to character

as.character()

{base}

not equal to

!=

{base}

determine if input is of type numeric

is.numeric()

{base}

return object structure

str()

{utils}

identify if element is in vector

%in%

{base}

determine whether elements of vector are missing

is.na()

{base}

return object class

class()

{base}

convert to date

as.Date()

{base}

encode vector as factor

factor()

{base}

coerce object to factor

as.factor()

{base}

return object type

typeof()

{base}

The end!