reven: Random Sampler for the "Even Rosenbrock Function"

Description Usage Arguments Value Examples

View source: R/main.R

Description

Random sampler for the full Rosenbrock function, with two vector parameters a and b.

Usage

1
reven(n,a,b,mu)

Arguments

n

Sample size.

mu

Density shift.

a

Parameters for odd index input.

b

Parameters for even index input.

Value

Returns a sample of size n from the "full" Rosenbrock distribution.

Examples

1
2
3
4
5
n = 100
a = b = rep(2,2)
mu = rep(1,2)

reven(n = n,mu = mu,a = a,b = b)

Rosenbrock documentation built on March 15, 2020, 5:06 p.m.

Related to reven in Rosenbrock...