rename_locations | R Documentation |
These functions rename locations, datasets, params, and columns, making sure internal consistency is maintained. These functions use dplyr syntax for renaming (i.e. the rename function). This syntax can also be used while subsetting using select_locations and family.
rename_locations(.data, ...)
## Default S3 method:
rename_locations(.data, ...)
rename_params(.data, ...)
## Default S3 method:
rename_params(.data, ...)
rename_datasets(.data, ...)
## Default S3 method:
rename_datasets(.data, ...)
rename_columns(.data, ...)
## Default S3 method:
rename_columns(.data, ...)
.data |
A mudata object |
... |
Variables to rename in the form |
A modified mudata object
rename, select_locations
rename_datasets(kentvillegreenwood, avalley = ecclimate)
rename_locations(kentvillegreenwood, Greenwood = starts_with("GREENWOOD"))
rename_params(kentvillegreenwood, max_temp = maxtemp)
rename_columns(kentvillegreenwood, lon = longitude, lat = latitude)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.