bp.basis {spsurv}R Documentation

Bernstein basis polynomials calculations

Description

Bernstein basis polynomials calculations

Usage

bp.basis(time, degree, tau = max(time))

Arguments

time

a vector of times.

degree

Bernstein polynomial degree

tau

must be greater than times maximum value observed.

Value

A list containing matrices b and B corresponding BP basis and corresponding tau value used to compute them.


[Package spsurv version 1.0.0 Index]