Description Usage Arguments Value Examples

View source: R/MultivariateRandomGenerator.R

Multivariate Random observations generator selected from several distributions with user defined mean and variance.

1 2 3 4 5 6 7 8 9 10 |

`n` |
scalar. Number of observations to be generated. |

`nv` |
scalar. Number of variables to be generated. |

`mu` |
scalar. Expected value of the desired distribution. |

`sigma` |
scalar. Standard deviation of the desired distribution. |

`correlation` |
scalar. Corralation between variables. |

`s` |
matrix. Correlation matrix of the variables |

`dists` |
list. Select the |

`dists.par` |
matrix For each variable (column), specify `par.location` : Location parameter of the desired distribution. Default 0.`par.scale` : Scale parameter of the desired distribution. Default 1.`par.shape` : Shape parameter of the desired distribution, Default 1.
The number of columns must be the same as the number of variables. |

A matrix `x`

with `n`

observations generated following the selected distribution with its parameters.

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.