Bspline.construct: Bspline.construct function

View source: R/splineFunctions.R

Bspline.constructR Documentation

Bspline.construct function

Description

A function to construct a B-spline basis matrix for given data and basis coefficients. Used in evaluating the baseline hazard.

Usage

Bspline.construct(x, basis)

Arguments

x

a vector, the data

basis

an object created by the getBbasis function

Value

a basis matrix


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.