Learn R Programming

⚠️There's a newer version (1.6.7) of this package.Take me there.

rstpm2 (version 1.2.2)

Flexible Link-Based Survival Models

Description

R implementation of Stata's stpm2 function (flexible link-based survival models), with extensions to different smoothers and penalised models.

Copy Link

Version

Install

install.packages('rstpm2')

Monthly Downloads

8,470

Version

1.2.2

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Clements

Last Published

July 26th, 2015

Functions in rstpm2 (1.2.2)

predict-methods

Predicted values for an stpm2 or pstpm2 fit
numDeltaMethod

Calculate numerical delta method for non-linear predictions.
pstpm2-class

Class "pstpm2"
predictnl

Generic function for non-linear prediction.
incrVar

Utility that returns a function to increment a variable in a data-frame.
colon

Colon cancer.
predictnl.default

Default implementation of the predictnl generic function.
popmort

Background mortality rates for the colon dataset.
predictnl-methods

~~ Methods for Function predictnl ~~
stpm2

Flexible parametric survival model.
stpm2-class

Class "stpm2" ~~~
brcancer

German breast cancer data from Stata.
legendre.quadrature.rule.200

Legendre quadrature rule for n=200.
pstpm2

Flexible semi-parametric survival model.
grad

gradient function (internal function)
coef<-

Set Model Coefficients
nsx

Generate a Basis Matrix for Natural Cubic Splines (with eXtensions)
predict.nsx

Evaluate a Spline Basis
plot-methods

plots for an stpm2 fit
rstpm2-internal

Internal functions for the rstpm2 package.