class: SVRS

Description Usage Arguments Value Examples

Description

Description

Usage

1
class(f, N, low, high, maxf)

Arguments

f

pdf sampled from

N

number of attempted samples

low

lower bound of the support of f

high

upper

maxf

bound of f

Value

vector of samples from pdf

Examples

1
2
betaPDF <- function(x) {ifelse(0<x & x<1, 2*x, 0)}
class(betaPDF, 100, 0, 1, 2)

tannerschubert/4800project documentation built on May 29, 2019, 9:52 a.m.