Package information

rpsftmPlus

rpsftmPlus: An R package for Rank Preserving Structural Time models

Assessing switching patterns

Functions for assessing impact of switching before adjustment

ggexposure()

Plots exposure status from an rpsftm object

ggatrisk()

Plots at risk status from an rpsftm object

rpsftm.atrisk()

Evaluate at risk status from an rpsftm object

ggdiscount()

Plots hypothetical results from an rpsftm object

Diagnostics

Functions for diagnositics of grid estimation.

ggpsi()

Plots g-estimation from rpsftm object

gglatent()

Plots latent survival from rpsftm object

Analysis and Reporting of RPSFT models

Functions for analysing and reporting RPSFT models.

rpsftm.refit()

Refits an rpsftm model for common treatment effect sensitivity analysis

rpsftm.coxph()

Fits a cox model to an rpsftm object

ggcfact()

Plots observed and counterfactual survival from rpsftm object

Helper functions

Helper functions.

as.data.frame(<survfit>)

Convert a survfit to a dataframe of survival and censoring data