pset | R Documentation |
See ParameterSet for full details.
pset(..., prms = list(...), tag_properties = NULL, deps = NULL, trafo = NULL)
... |
(prm) |
prms |
( |
tag_properties |
( |
deps |
( |
trafo |
( |
library(set6) # simple example prms <- list( prm("a", Set$new(1), 1, tags = "t1"), prm("b", "reals", 1.5, tags = "t1"), prm("d", "reals", 2, tags = "t2") ) p <- pset(prms = prms) # with properties, deps, trafo p <- pset( prm("a", Set$new(1), 1, tags = "t1"), prm("b", "reals", 1.5, tags = "t1"), prm("d", "reals", 2, tags = "t2"), tag_properties = list(required = "t2"), deps = list( list(id = "a", on = "b", cond = cnd("eq", 1.5)) ), trafo = function(x, self) return(x) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.