unit.spline.pi0 {swfdr} | R Documentation

## Fit smoothing unit splines to several curves

### Description

In contrast to smooth.spline.pi0, this function uses the bs() bases and uses boundary knots at x=(0, 1)

### Usage

    unit.spline.pi0(x, ymat, df = 3)

### Arguments

`x` | numeric vector, position of knots
`ymat` | numeric matrix, ncol(ymat) should match length(x)

### Value

list with component pi0 (numeric vector)

[Package swfdr version 1.13.0 Index]