View source: R/designs_helpers.R
class_laws | R Documentation |
This is an internal function which classifies the attribute / characteristic generating functions. The function serves to distinguish between the different input formats. This ensures flexibility of the attributes' specifications.
class_laws(laws)
laws |
A list of generation rules (rules) as provided by single alternative. |
character A vector of classes in character format.
# Create alternative alt1 <- alternative$new() alt1$add_attributes(Quality = runif(min = 0, max = 1), Price = rnorm(mean = 5)) # Class laws claws <- class_laws(alt1$get_laws())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.