Package: biostat3 0.2.2

Mark Clements

biostat3: Utility Functions, Datasets and Extended Examples for Survival Analysis

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".

Authors:Annika Tillander [ctb], Andreas Karlsson [aut], Johan Zetterqvist [ctb], Peter Strom [ctb], Benedicte Delcoigne [ctb], Mark Clements [aut, cre]

biostat3_0.2.2.tar.gz
biostat3_0.2.2.tar.gz(r-4.5-noble)biostat3_0.2.2.tar.gz(r-4.4-noble)
biostat3_0.2.2.tgz(r-4.4-emscripten)biostat3_0.2.2.tgz(r-4.3-emscripten)
biostat3.pdf |biostat3.html
biostat3/json (API)

# Install 'biostat3' in R:
install.packages('biostat3', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • brv - Bereavement dataset
  • colon - Colon cancer dataset
  • colon_sample - Sample from the 'colon' dataset used for teaching.
  • diet - Diet data set
  • melanoma - Melanoma cancer dataset
  • popmort - Popmort dataset, with population-based mortality rates

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.46 score 145 scripts 834 downloads 1 mentions 35 exports 4 dependencies

Last updated 2 days agofrom:12710e1bce. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-linuxOKOct 30 2024

Exports:addIndicatorsas.data.frame.bshazardas.data.frame.coxphHazas.data.frame.coxphHazListas.data.frame.muhazas.data.frame.muhazListcoxphHazeformeform.defaultformat_percggplot.muhazListirrlifetablifetab2lincomlines.coxphHazListlines.lifetab2lines.muhaz2lines.muhazListmuhaz2orplot.coxphHazplot.coxphHazListplot.lifetab2plot.muhaz2plot.muhazListplot.smoothHazpoisson.ciprint.coxphHazsmoothHazsummary.muhazListsurvPHplotsurvRateupdateListyear

Dependencies:latticeMASSMatrixsurvival

Readme and manuals

Help Manual

Help pageTopics
Utility Functions, Datasets and Extended Examples for Survival Analysisbiostat3-package biostat3
Utility to add indicators from a data-frame based on a formula.addIndicators
Functions to work with bshazard objects.as.data.frame.bshazard
Bereavement datasetbrv
Colon cancer datasetcolon
Sample from the 'colon' dataset used for teaching.colon_sample
Smoothed hazard estimates for 'coxph'as.data.frame.coxphHaz as.data.frame.coxphHazList coxphHaz lines.coxphHazList plot.coxphHaz plot.coxphHazList print.coxphHaz
Diet data setdiet
Calculate the exponential form for coefficients and their confidence intervals using either profile likelihood-based or Wald-based confidence intervals.eform eform.default irr or
Create cohort life tablelifetab
Formula wrapper for 'lifetab' from the 'KMsurv' package.lifetab2 lines.lifetab2 plot.lifetab2
Linear combination of regression parameters.lincom
Melanoma cancer datasetmelanoma
Formula wrapper for the 'muhaz' function from the 'muhaz' package.as.data.frame.muhaz as.data.frame.muhazList ggplot.muhazList lines.muhaz2 lines.muhazList muhaz2 plot.muhaz2 plot.muhazList summary.muhazList
Exact Poisson confidence intervals.poisson.ci
popmort dataset, with population-based mortality ratespopmort
Simple implementation for kernel density smoothing of the Nelson-Aalen estimator.plot.smoothHaz smoothHaz
Plot to assess non-proportionalitysurvPHplot
Describe ratessurvRate
Utility functions for the 'biostat3' packageformat_perc updateList
Convert a 'Date' vector to a numeric vectoryear