View source: R/getVariableNames.R
getVariableNames | R Documentation |
Extracts variable names from a data frame or matrix (column names).
getVariableNames(x, xvar = NULL, num = TRUE)
x |
data frame/matrix: data set to analyse |
xvar |
character: variable names to analyse (default: |
num |
logical: should numerical or non-numerical variable use (default: |
character vector with variable names
getVariableNames(iris) getVariableNames(iris, num=FALSE) getVariableNames(normalize(iris, 0)) getVariableNames(normalize(iris, 0), num=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.