cumulativeBspline.construct {spatsurv}R Documentation

cumulativeBspline.construct function

Description

A function to construct the integral of a B-spline curve given data and basis coefficients. Used in evaluating the cumulative baseline hazard.

Usage

cumulativeBspline.construct(x, basis)

Arguments

x

a vector, the data

basis

an object created by the getBbasis function

Value

an object that allows the integral of a given B-spline curve to be computed


[Package spatsurv version 2.0-1 Index]