give_names | R Documentation |
change vector, dataframe or matrix names
give_names(data, ...)
## S3 method for class 'character'
give_names(data, ...)
## S3 method for class 'numeric'
give_names(data, ...)
## S3 method for class 'logical'
give_names(data, ...)
## S3 method for class 'list'
give_names(data, ...)
## S3 method for class 'data.frame'
give_names(data, ..., row = FALSE)
## S3 method for class 'matrix'
give_names(data, ..., row = FALSE)
data |
one vector, list, dataframe or matrix |
... |
one or more names |
row |
logical, whether the names is row names. Default is FALSE |
names changed data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.