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

GADSdat object imported via eatGADS.

varName

Name of the variable to be cloned.

checkVarName

Logical. Should varName be checked by checkVarNames?

Value

Returns a GADSdat.

Examples

# create a new variable
pisa_new <- createVariable(pisa, varName = "new_variable")


[Package eatGADS version 1.1.0 Index]