reikerp/contdistpeter: Peter's Continuous Distribution Package

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.

Getting started

Package details

AuthorPeter Reiker
MaintainerPeter Reiker <peter.reiker@slu.edu>
LicenseNA
Version0.1.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("reikerp/contdistpeter")
reikerp/contdistpeter documentation built on May 26, 2019, 2:32 p.m.