BPbasis {BayesBP}R Documentation

Bernstein polynomial basis.

Description

This function build two dimensional Bernstein polynomial basis.

Usage

BPbasis(ages, years, n0, N = 1)

Arguments

ages

Range of ages.

years

Range of years.

n0

Upper bound of possion random variable.

N

Lower bound of possion random variable.

Value

Bernstein basis.

See Also

Other Bernstein basis: PD_BPbasis()

Examples

ages <- 35:85
years <- 1988:2007
list.basis <- BPbasis(ages,years,10)
list.basis

[Package BayesBP version 1.1 Index]