Data structures

rep()

{base}

create repetitions of numbers, characters, etc.

colnames()

{base}

retrieve or set column names

dim()

{base}

return dimensions of matrix, data frame, etc.

ncol()

{base}

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

[]

{base}

subset elements of vector

length()

{base}

return number of elements in a vector

head()

{utils}

return first rows of matrix, data frame, etc.

seq()

{base}

create sequences of numbers

list()

{base}

create recursive vector (list)

tibble()

{tibble}

create tibble

:

{base}

sequence of integers

c()

{base}

create vector of numbers, characters, etc.

nrow()

{base}

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

tail()

{utils}

return last rows of matrix, data frame, etc.

data.frame()

{base}

create data frame

The end!