Data structures

:

{base}

sequence of integers

dim()

{base}

return dimensions of matrix, data frame, etc.

ncol()

{base}

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

list()

{base}

create recursive vector (list)

rep()

{base}

create repetitions of numbers, characters, etc.

colnames()

{base}

retrieve or set column names

head()

{utils}

return first rows of matrix, data frame, etc.

seq()

{base}

create sequences of numbers

c()

{base}

create vector of numbers, characters, etc.

length()

{base}

return number of elements in a vector

[]

{base}

subset elements of vector

nrow()

{base}

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

data.frame()

{base}

create data frame

tail()

{utils}

return last rows of matrix, data frame, etc.

tibble()

{tibble}

create tibble

The end!