Data structures

create sequences of numbers

seq()

{base}

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

ncol()

{base}

return last rows of matrix, data frame, etc.

tail()

{utils}

create repetitions of numbers, characters, etc.

rep()

{base}

create tibble

tibble()

{tibble}

create vector of numbers, characters, etc.

c()

{base}

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

nrow()

{base}

sequence of integers

:

{base}

return first rows of matrix, data frame, etc.

head()

{utils}

subset elements of vector

[]

{base}

create recursive vector (list)

list()

{base}

return dimensions of matrix, data frame, etc.

dim()

{base}

create data frame

data.frame()

{base}

return number of elements in a vector

length()

{base}

retrieve or set column names

colnames()

{base}

The end!