| prm | R Documentation |
The prm class is required for ParameterSet objects, it
allows specifying a parameter as a named set and optionally setting values
and tags.
prm(id, support, value = NULL, tags = NULL, .check = TRUE)
id |
( |
support |
|
value |
|
tags |
( |
.check |
For internal use only. |
library(set6)
# Constructing a prm with a Set support
prm(
id = "a",
support = Reals$new(),
value = 1
)
# Constructing a prm with a support already in the dictionary
prm(
id = "a",
support = "reals",
value = 1
)
# Adding tags
prm(
id = "a",
support = "reals",
value = 1,
tags = c("tag1", "tag2")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.