PD_BPbasis {BayesBP} | R Documentation |
Partial differential Bernstein polynomial basis.
Description
This function build two dimensional Bernstein polynomial basis.
Usage
PD_BPbasis(ages, years, n0, N = 1, by = 1)
Arguments
ages |
Range of ages. |
years |
Range of years. |
n0 |
Upper bound of possion random variable. |
N |
Lower bound of possion random variable. |
by |
1: partial differential by ages; 2: partial differential by years. |
Value
Partial differential Bernstein basis.
See Also
Other Bernstein basis:
BPbasis()
Examples
ages <- 35:85
years <- 1988:2007
pdbasis <- PD_BPbasis(ages,years,10,by = 1)
pdbasis
[Package BayesBP version 1.1 Index]