Data types

seq()

{base}

create sequences of numbers

str()

{utils}

return object structure

as.factor()

{base}

coerce object to factor

as.character()

{base}

coerce object to character

rep()

{base}

create repetitions of numbers, characters, etc.

names()

{base}

return (and can assign) column names

class()

{base}

return object class

attr()

{base}

return or set individual attribute values

c()

{base}

create vector of numbers, characters, etc.

tail()

{utils}

return last rows of matrix, data frame, etc.

data.frame()

{base}

create data frame

as.numeric()

{base}

coerce object to numeric

typeof()

{base}

return object type

ncol()

{base}

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

nrow()

{base}

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

dim()

{base}

return dimensions of matrix, data frame, etc.

length()

{base}

return number of elements in a vector

matrix()

{base}

create matrix of numbers, characters, etc.

attributes()

{base}

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

tibble()

{tibble}

create tibble

head()

{utils}

return first rows of matrix, data frame, etc.

The end!