Description Usage Arguments Value

Simulate x from the marginal f(x), then y from f(y|x), and the pair (x, y) has the desired joint distribution.

1 | ```
rbinormal(n, m1 = 0, m2 = 0, s1 = 1, s2 = 1, rho = 0)
``` |

`n` |
the desired sample size |

`m1, m2` |
the means of X and Y, respectively |

`s1, s2` |
the standard deviations of X and Y, respectively |

`rho` |
the correlation coefficient between X and Y |

A numeric matrix of two columns X and Y.

yihui/rlp documentation built on Sept. 8, 2018, 6:26 p.m.

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.