Variable {ceg}R Documentation

Variable(name,categories)

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

Variable(name, categories)

Arguments

name

character, the Variable name

categories

a list of S4 Category objects.

Value

a Variable S4 object

Examples

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



[Package ceg version 0.1.0 Index]