Description Usage Arguments Value Author(s)
Generate a random sample from a multivariate normal or lognormal distribution, or from a product of independent one-dimensional distributions.
1 |
sampsize |
sample size |
dist |
distribution type: "Normal", "Lognormal", or "Indep" |
mean |
vector of means |
sd |
vector of standard deviations |
cor |
correlation matrix of the distribution |
distdef |
distribution definition for independent one-dimensional distributions |
file |
optional file to save results |
Returns a list containing:
mean |
vector of means |
sd |
vector of standard deviations |
corr |
correlation matrix of the distribution |
sampsize |
sample size |
sample |
data frame of parameter samples (each row corresponds to a draw) |
logpdf |
vector of values of log probability density at the sample points |
Peter Reichert <peter.reichert@eawag.ch>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.