projectq3c: projectq3c

Description Usage Arguments Value Examples

Description

This function generates semi-random deviates from a continuous bivariate distribution with the supplied joint probability density function via Markov Chain Monte Carlo.

Usage

1
projectq3c(n, jpdf, ...)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

jpdf

a function that is the joint pdf of the distribution

...

further arguments passed to or from other methods.

Value

data.frame of semi-random deviates

Examples

1
2
3
4
plot(projectq3c(n = 10000, jpdf = jdunif))
plot(projectq3c(n = 10000, jpdf = jdunif, min = -1, max = 1))
plot(projectq3c(n = 10000, jpdf = jdcirclecontour))
plot(projectq3c(n = 10000, jpdf = jdnorm, r = 0.75))

schuelkem/samplr documentation built on May 6, 2019, 7:19 a.m.