powered by
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.
Variable(name, categories)
character, the Variable name
a list of S4 Category objects.
a Variable S4 object
Variable
# NOT RUN { var <- Variable("variable.name", list(Category("cat1"), Category("cat2"), Category("cat3"))) # }
Run the code above in your browser using DataLab