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