Rdocumentation
powered by
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
Link to current version
Version
Version
1.6.7
1.6.6.1
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.2
1.5.1
1.5.0
1.4.5
1.4.4
1.4.2
1.4.1
1.4.0
1.3.4
1.3.2
1.3.1
1.2.2
Install
install.packages('rstpm2')
Monthly Downloads
8,470
Version
1.2.2
License
GPL-2 | GPL-3
Issues
5
Pull Requests
0
Stars
27
Forks
12
Repository
http://github.com/mclements/rstpm2
Maintainer
Mark Clements
Last Published
July 26th, 2015
Functions in rstpm2 (1.2.2)
Search all functions
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.