createVariable {eatGADS} | R Documentation |
Create a variable.
Description
Create an empty variable as part of a GADSdat
object.
Usage
createVariable(GADSdat, varName, checkVarName = TRUE)
Arguments
GADSdat |
|
varName |
Name of the variable to be cloned. |
checkVarName |
Logical. Should |
Value
Returns a GADSdat
.
Examples
# create a new variable
pisa_new <- createVariable(pisa, varName = "new_variable")
[Package eatGADS version 1.1.0 Index]