asNumericList | R Documentation |
AsNumericList
Coerce a list of numeric or factor variables into a list where the elements of the list are numeric.
asNumericList(x, binary = TRUE, remove.first = FALSE, return.data.frame = TRUE)
x |
A list containing the variables to combine. The elements of the list should be of class numeric, factor, or ordered factor. |
binary |
If |
remove.first |
Remove the first binary variable. |
return.data.frame |
Returns as a |
A data.frame
or list
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.