# NOT RUN {
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")
)
# }
Run the code above in your browser using DataLab