rzAddItem: Add a variable to a dataset

Description Usage Arguments Author(s) See Also

View source: R/functions.R

Description

Add a variable to a dataset

Usage

1
2
3
4
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


Rz documentation built on May 29, 2017, 11:06 a.m.

Search within the Rz package
Search all R packages, documentation and source code