Learn R Programming

Rosenbrock (version 0.1.0)

deven: Density Function "Even Rosenbrock Function"

Description

Density function for the full rosenbrock function, with two vector parameters a and b.

Usage

deven(x,a,b,mu)

Arguments

x

Input vector.

mu

Density shift.

a

Parameters for odd index input.

b

Parameters for even index input.

Value

Returns the density value of the "even" Rosenbrock distribution at point x for parameters mu,a and b.

Examples

Run this code
# NOT RUN {
x = rep(1,4)
a = b = rep(2,2)
mu = rep(1,2)

deven(x = x,a = a,b = b,mu = mu)
# }

Run the code above in your browser using DataLab