Add subvariable to an array
addSubvariable(variable, subvariable)
addSubvariables(variable, subvariable)
variable
with the indicated subvariables added.
if (FALSE) { # \dontrun{
ds$allpets <- addSubvariable(ds$allpets, ds$allpets_4)
ds$petloc <- addSubvariables(ds$petloc, ds[c("petloc_school", "petloc_daycare")])
} # }