Data types

encode vector as factor

factor()

{base}

equal to

==

{base}

determine if input is of type character

is.character()

{base}

coerce object to character

as.character()

{base}

coerce object to numeric

as.numeric()

{base}

return object class

class()

{base}

return object structure

str()

{utils}

coerce object to factor

as.factor()

{base}

convert to date

as.Date()

{base}

not equal to

!=

{base}

return object type

typeof()

{base}

determine whether elements of vector are missing

is.na()

{base}

determine if input is of type factor

is.factor()

{base}

determine if input is of type numeric

is.numeric()

{base}

identify if element is in vector

%in%

{base}

The end!