This package contdistpeter currently contains two functions, rejection_sampling and d2_sampler_special. rejection_sampling recieves a function's pdf and generates a number of samples from the rv with the provided pdf using rejection sampling. d2_sampler_special samples from a 2D distribution given the marginal pdf of X and the conditional pdf of Y given X = x.
Package details |
|
|---|---|
| Author | Peter Reiker |
| Maintainer | Peter Reiker <peter.reiker@slu.edu> |
| License | NA |
| Version | 0.1.1 |
| Package repository | View on GitHub |
| Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.