BPbasis {BayesBP} | R Documentation |
This function build two dimensional Bernstein polynomial basis.
BPbasis(ages, years, n0, N = 1)
ages |
Range of ages. |
years |
Range of years. |
n0 |
Upper bound of possion random variable. |
N |
Lower bound of possion random variable. |
Bernstein basis.
Other Bernstein basis:
PD_BPbasis()
ages <- 35:85
years <- 1988:2007
list.basis <- BPbasis(ages,years,10)
list.basis