Variable: Variable(name,categories)

Description Usage Arguments Value Examples

Description

Variable(name,categories) is a function that act as constructor to Variable S4 object. Variable S4 class contains two slots with the Variable name and a list of Categories. It is used to construct Stratified.vent.tree objects.

Usage

1
Variable(name, categories)

Arguments

name

character, the Variable name

categories

a list of S4 Category objects.

Value

a Variable S4 object

Examples

1
2
var <- Variable("variable.name", list(Category("cat1"), Category("cat2"),
Category("cat3")))

ceg documentation built on May 2, 2019, 1:46 p.m.