powered by
This function build two dimensional Bernstein polynomial basis.
BPbasis(ages, years, n0, N = 1)
Range of ages.
Range of years.
Upper bound of possion random variable.
Lower bound of possion random variable.
Bernstein basis.
Other Bernstein basis: PD_BPbasis()
PD_BPbasis()
# NOT RUN { ages <- 35:85 years <- 1988:2007 list.basis <- BPbasis(ages,years,10) list.basis # }
Run the code above in your browser using DataLab