Learn R Programming

biostat3 (version 0.2.3)

Utility Functions, Datasets and Extended Examples for Survival Analysis

Description

Utility functions, datasets and extended examples for survival analysis. This extends a range of other packages, some simple wrappers for time-to-event analyses, datasets, and extensive examples in HTML with R scripts. The package also supports the course Biostatistics III entitled "Survival analysis for epidemiologists in R".

Copy Link

Version

Install

install.packages('biostat3')

Monthly Downloads

1,011

Version

0.2.3

License

GPL (>= 2)

Maintainer

Mark Clements

Last Published

July 23rd, 2025

Functions in biostat3 (0.2.3)

coxphHaz

Smoothed hazard estimates for coxph
eform

Calculate the exponential form for coefficients and their confidence intervals using either profile likelihood-based or Wald-based confidence intervals.
addIndicators

Utility to add indicators from a data-frame based on a formula.
as.data.frame.bshazard

Functions to work with bshazard objects.
poisson.ci

Exact Poisson confidence intervals.
utilities

Utility functions for the biostat3 package
survPHplot

Plot to assess non-proportionality
colon_sample

Sample from the colon dataset used for teaching.
smoothHaz

Simple implementation for kernel density smoothing of the Nelson-Aalen estimator.
brv

Bereavement dataset
diet

Diet data set
colon

Colon cancer dataset
muhaz2

Formula wrapper for the muhaz function from the muhaz package.
melanoma

Melanoma cancer dataset
lifetab

Create cohort life table
lifetab2

Formula wrapper for lifetab from the KMsurv package.
popmort

popmort dataset, with population-based mortality rates
year

Convert a Date vector to a numeric vector
biostat3-package

tools:::Rd_package_title("biostat3")
survRate

Describe rates
lincom

Linear combination of regression parameters.