Last data update: 2014.03.03
|
R: Add a variable to a dataset
Add a variable to a dataset
Description
Add a variable to a dataset
Usage
rzAddItem(item, name = as.character(substitute(item)),
data.set.name = NULL, description = name,
measurement = c("auto", "nominal", "ordinal", "interval", "ratio"),
overwrite = FALSE, ask = FALSE)
Arguments
item |
an item object or a variable such as factor or numeric.
|
name |
character: the variable name.
|
data.set.name |
character: a name of a dataset in Rz. NULL means the current dataset.
|
description |
character: the variable label.
|
measurement |
character: measurement of the variable.
|
overwrite |
logical: if TRUE will overwrite an existing variable.
|
ask |
logical: confirm execution if TRUE .
|
Author(s)
Masahiro Hayashi
See Also
rzAddData , rzReloadData
Results
|