Data types

as.numeric()

{base}

coerce object to numeric

tibble()

{tibble}

create tibble

typeof()

{base}

return object type

str()

{utils}

return object structure

matrix()

{base}

create matrix of numbers, characters, etc.

as.character()

{base}

coerce object to character

length()

{base}

return number of elements in a vector

seq()

{base}

create sequences of numbers

attr()

{base}

return or set individual attribute values

head()

{utils}

return first rows of matrix, data frame, etc.

ncol()

{base}

return number of columns in matrix,
data frame, etc.

c()

{base}

create vector of numbers, characters, etc.

data.frame()

{base}

create data frame

names()

{base}

return (and can assign) column names

attributes()

{base}

return all attributes of vector, matrix,
data frame, etc.

as.factor()

{base}

coerce object to factor

class()

{base}

return object class

tail()

{utils}

return last rows of matrix, data frame, etc.

rep()

{base}

create repetitions of numbers, characters, etc.

nrow()

{base}

return number of rows in matrix,
data frame, etc.

dim()

{base}

return dimensions of matrix, data frame, etc.

The end!