unit.spline.pi0 {swfdr} | R Documentation |
In contrast to smooth.spline.pi0, this function uses the bs() bases and uses boundary knots at x=(0, 1)
unit.spline.pi0(x, ymat, df = 3)
x |
numeric vector, position of knots |
ymat |
numeric matrix, ncol(ymat) should match length(x) |
list with component pi0 (numeric vector)