powered by
Simple wrapper around d$getParameterValue(p) and d$setParameterValue(lst).
gprm(d, p)sprm(d, lst)
sprm(d, lst)
(Distribution(1)) Distribution object.
Distribution(1)
(character()) Name(s) of parameters to written.
character()
(list(1)) Parameters to update.
list(1)
# NOT RUN { d <- dstr("Norm") gprm(d, "mean") gprm(d, c("mean", "var")) sprm(d, list(mean = 1, var = 3)) gprm(d, c("mean", "sd")) # }
Run the code above in your browser using DataLab