Learn R Programming

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

survMisc (version 0.4.2)

Miscellaneous functions for survival data.

Description

A collection of functions for analysis of survival data. These extend the methods available in package survival.

Copy Link

Version

Install

install.packages('survMisc')

Monthly Downloads

27,786

Version

0.4.2

License

GPL-2

Maintainer

Chris Dardis

Last Published

May 13th, 2014

Functions in survMisc (0.4.2)

mean.Surv

Mean for Surv object
cutp

Cutpoint for a continuous variable in a coxph or survfit model
tneBMT

Time, no. at risk, no. events for BMT data
autoplot.rpart

Plot a recursive partitioning tree using ggplot2
profLik

Profile likelihood for coefficients in Coxph model
autoplot.tableAndPlot

Arrange and plot a survival plot, it's legend and a table.
survEst

Estimates of survival functions based on n and e
plot.Surv

Plot Survival object
tne

Time, No. at risk, No. events
lrSS

Sample size required to show difference in survival by log-rank test given prior information about Kaplan-Meier estimate
gamTerms

Individual terms of a Generalized Additive or Cox Proportional Hazard Model
quantile

Quantiles and median for Surv and survfit objects
covMatSurv

Covariance matrix for survival data
multi

Multiple coxph models
tableRhs

Table the outcome against all predictors in a formula
btumors

brain tumors trial data
survMisc-package

Miscellaneous functions for survival analysis.
calcSurv

Calculate estimators of survival & hazard functions with variance for a Surv object describing right censored data
whas100

Worcester Heart Attack Study WHAS100 Data
dxPlot

Diagnostic plots for coxph model
comp

Compare survival curves
Information criterion

Information criterion
autoplot.survfit

Generate a ggplot for survfit object
plotMultiCoxph

Plot multi.coxph object
gastric

gastric cancer trial data
tneKidney

Time, no. at risk, no. events for kidney
sig

Significiance tests of coefficients in a Coxph model
genSurv

Generate survival data
local

Local tests for a model
air

Air data
whas500

Worcester Heart Attack Study WHAS500 Data
ic

Information criterion
plotTerm

Plot individual terms of a Generalized Additive gam or Cox Proportional Hazards coxph Model
dx

Diagnostics for coxph models
gof

Goodness of fit test for coxph models
mpip

Multi-center Post-Infarction Project
d1

Dataset.
genDfSurv

Generate data frame for survival analysis
ci

Confidence intervals for survival curves
as.Surv

Convert time and status to a right-censored survival object, ordered by time
rsq

r^2 measures for a a coxph or survfit model
plot.MultiCoxph

Plot a multi.coxph object
sf

Estimates of survival (or hazard) function based on $n$ and $e$
autoplot

Generate a ggplot for survfit object