# Random number generation

### Description

Random number generation of the closed-skew normal distribution

### Usage

1 |

### Arguments

`k` |
the number of random numbers to be generated |

`mu` |
a numeric vector representing the location parameter of the
distribution; it must be of length |

`sigma` |
a positive definite matrix representing the scale parameter of the distribution; a vector of length 1 is also allowed |

`gamma` |
a matrix representing the skewness parameter of the distribution; a vector of length 1 is also allowed |

`nu` |
a numeric vector allows for closure with conditional densities;
it must be of length |

`delta` |
a positive definite matrix allows for closure with the marginal densities; a vector of length 1 is also allowed |

### Details

Function rcsn makes use of rmvnorm from package mvtnorm;

### Value

`rcsn`

returns a matrix of `k`

rows of random vectors

### See Also

`rmvnorm`

### Examples

1 2 3 4 5 6 7 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.