updateMeta | R Documentation |
Update the meta data of a GADSdat
or all_GADSdat
object according to the variables in a new data object.
updateMeta(GADSdat, newDat, checkVarNames = TRUE)
GADSdat |
|
newDat |
|
checkVarNames |
Logical. Should new variable names be checked by |
If the data of a GADSdat
or a all_GADSdat
has changed (supplied via newDat
), updateMeta
assimilates the corresponding meta data set. If variables have been removed, the corresponding meta data is also removed.
If variables have been added, empty meta data is added for these variables. Factors are transformed to numerical
and their levels added to the meta data set.
Returns the original object with updated meta data (and removes factors from the data).
# see createGADS vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.