Learn R Programming

spatsurv (version 2.0)

cumulativeBspline.construct: 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)

Value

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

Arguments

x

a vector, the data

basis

an object created by the getBbasis function