simulate8mn {rbmn} | R Documentation |
simulates a multinormal vector
Description
returns a matrix of simulated values with the variable in columns and the simulations in rows.
Usage
simulate8mn(mn, nbs, tol=1e-7)
Arguments
mn |
list defining the distribution of the initial vector with
|
nbs |
number of simulations to return. |
tol |
tolerance value to be transmitted to |
Details
Just a call to the basic function mvrnorm
. Names of the
variables are taken from those of mn$mu
, when these does not
exist, standard ones are provided.
Value
A matrix/data frame of size : nbs x length(mn$mu)
Examples
print(simulate8mn(rbmn0mn.01, 12));
[Package rbmn version 0.9-6 Index]