Learn R Programming

ceg (version 0.1.0)

Category: Category(label)

Description

Category(label) is a function that act as constructor to Category S4 object. Category S4 class contains a single slot with the category labels. It is used to construct S4 Variable objects, which, in turn, aim at being parameters in Stratified.event.tree objects manual constructions.

Usage

Category(label)

Arguments

label

caracter, the category name

Value

a Category S4 object

Examples

Run this code
# NOT RUN {
cat <- Category("category.name")

Category("category.name2")


# }

Run the code above in your browser using DataLab