Learn R Programming

spinifex (version 0.3.2)

.bind_elements2df: Binds replicated elements of a list as columns of a data frame.

Description

Internal function. To be applied to aes_args replicates elements to the length of the data and bind as a column.

Usage

.bind_elements2df(list, df)

Arguments

list

A list of arguments such as those passed in aes_args and identity_args.

df

A data.frame to column bind the elements of list to.

See Also

Other Internal utility: .init4proto, .lapply_rep_len()

Examples

Run this code
# NOT RUN {
## This function is not meant for external use
# }

Run the code above in your browser using DataLab