setNamesSGP {SGP} | R Documentation |
Function for renaming data (typically from outputSGP
) from
a state/organization naming conventions to those used in the SGP package
Description
setNamesSGP renames a dataset (without copying or returning the data).
Usage
setNamesSGP(
data,
state=NULL)
Arguments
data |
The dataset to be renamed. For example longitudinal data exported
from |
state |
The 'state' for the |
Value
NULL. Simply renames the data. Note that the state
must be included
in the SGPstateData
and have a Variable_Name_Lookup
entry to work.
Author(s)
Adam R. Van Iwaarden avaniwaarden@nciea.org
See Also
Examples
## Not run:
load("Data/Demonstration_SGP_LONG_Data.Rdata")
setNamesSGP(Demonstration_SGP_LONG_Data)
## End(Not run)
[Package SGP version 2.1-0.0 Index]