# Generalized Survival Models

## Documentation for package ‘rstpm2’ version 1.4.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

Rstpm2-package | Flexible parametric survival models.
aft | Parametric accelerated failure time model with smooth time functions
aft-class | Class "stpm2" ~~~
AIC-method | Class "pstpm2"
AICc-method | Class "pstpm2"
anova-method | Class "pstpm2"
BIC-method | Class "pstpm2"
brcancer | German breast cancer data from Stata.
coef<- | Generic method to update the coef in an object.
colon | Colon cancer.
cox.tvc | Test for a time-varying effect in the 'coxph' model
grad | gradient function (internal function)
incrVar | Utility that returns a function to increment a variable in a data-frame.
legendre.quadrature.rule.200 | Legendre quadrature rule for n=200.
lhs | Internal functions for the rstpm2 package.
lhs<- | Internal functions for the rstpm2 package.
nsx | Generate a Basis Matrix for Natural Cubic Splines (with eXtensions)
nsxD | Generate a Basis Matrix for the first derivative of Natural Cubic Splines (with eXtensions)
numDeltaMethod | Calculate numerical delta method for non-linear predictions.
plot-method | Class "stpm2" ~~~
plot-method | plots for an stpm2 fit
plot-method | Class "pstpm2"
plot-method | Class "stpm2" ~~~
plot-method | Class '"tvcCoxph"'
plot-methods | plots for an stpm2 fit
popmort | Background mortality rates for the colon dataset.
predict-method | Class "stpm2" ~~~
predict-method | Predicted values for an stpm2 or pstpm2 fit
predict-methods | Predicted values for an stpm2 or pstpm2 fit
predict.nsx | Evaluate a Spline Basis
predictnl | Generic function for non-linear prediction.
predictnl-method | Class "stpm2" ~~~
predictnl-method | ~~ Methods for Function predictnl ~~
predictnl-method | Class "pstpm2"
predictnl-method | Class "stpm2" ~~~
predictnl-methods | ~~ Methods for Function predictnl ~~
predictnl.default | Default implementation of the 'predictnl' generic function.
pstpm2 | Penalised generalised survival model
pstpm2-class | Class "pstpm2"
qAICc-method | Class "pstpm2"
residuals-method | Residual values for an stpm2 or pstpm2 fit
residuals-methods | Residual values for an stpm2 or pstpm2 fit
rhs | Internal functions for the rstpm2 package.
rhs<- | Internal functions for the rstpm2 package.
Rstpm2 | Flexible parametric survival models.
stpm2 | Fully parametric generalised survival model
stpm2-class | Class "stpm2" ~~~
summary-method | Class "pstpm2"
summary-method | Class "stpm2" ~~~
tvcCoxph-class | Class '"tvcCoxph"'