rar: Sample of size n from target density f

Description Usage Arguments Value Author(s)

Description

Sample of size n from target density f

Usage

1
  rar(n, f, M, ...)

Arguments

n

number of sample wanted

f

target density

M

maximum number in uniform proposal density

...

additional arguments sent to arsample

Value

a vector of size n of observations from target density

Author(s)

Heike Hofmann


heike/rotations documentation built on May 17, 2019, 3:24 p.m.