setNamesSGP: Function for renaming data (typically from 'outputSGP') from...

setNamesSGPR 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 outputSGP that uses a state's naming conventions.

state

The 'state' for the data Derive from data name if not explicitly supplied.

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

outputSGP

Examples

## Not run: 
load("Data/Demonstration_SGP_LONG_Data.Rdata")
setNamesSGP(Demonstration_SGP_LONG_Data)

## End(Not run)

CenterForAssessment/SGP documentation built on April 22, 2024, 3:16 p.m.