reorder_colnames | R Documentation |
Reorders the column names for idaifield_as_matrix()
reorder_colnames(colnames, order = "default")
colnames |
a character vector with colnames |
order |
either "default" for default order (first columns are "identifier", "category", "shortDescription" and the rest is as assembled) or a character vector with exact column names that will then place these as the first n columns of the matrix produced by idaifield_as_matrix() |
a character vector
## Not run:
colnames <- c("materialType", "identifier", "shortDescription", "category")
reorder_colnames(colnames, order = "default")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.