BPbasis: Bernstein polynomial basis.

Description Usage Arguments Value See Also Examples

View source: R/BPbasis.R

Description

This function build two dimensional Bernstein polynomial basis.

Usage

1
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

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

BayesBP documentation built on Aug. 28, 2020, 1:10 a.m.

Related to BPbasis in BayesBP...