Bspline.construct {spatsurv}R 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


[Package spatsurv version 2.0-1 Index]