View source: R/distributions3_utils.R
copyDist | R Documentation |
Make a copy of a distributions3 object and reset its parameter vector.
copyDist(d, param = getParVector(d))
d |
distributions3 object to be copied (provides the distribution family) |
param |
numeric vector of size npar(d), new parameter vector |
a distributions3 object.
## Not run:
d1 <- Normal()
d2 <- copyDist(d,param=c(10,5))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.