
The “mapply” Function in R
Applies a function to multiple lists or vectors, taking one element from each input list at a time.
The “tapply” Function in R
Applies a function to subsets of a vector or data frame broken down by one or more factors.
The “apply” Function in R
Applies a function to the rows or columns of a matrix, or the margins of an array.
The “lapply” Function in R
Applies a function to each element of a list and returns a list.
The “sapply” Function in R
Applies a function to each element of a list or vector and simplifies the result into an array, vector, or matrix.
The “ncol” Function in R
Retrieves the number of columns in an array, matrix, or data frame.
The “names” Function in R
Gets or sets the names of objects, such as vectors, lists, or data frames.
The “matrix” Function in R
Creates a matrix, a two-dimensional array with rows and columns.
The “data.frame” Function in R
Creates a data frame, a two-dimensional structure for storing data with rows and columns.
The “seq_along” Function in R
Generates a sequence of integers representing the indices of elements in an object.