Learn R Programming

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

reda

CRAN_Status_Badge Build Status AppVeyor Build Status codecov

Overview

The R package reda provides functions for

  • simulating survival, recurrent event, and multiple event data from stochastic process point of view;
  • exploring and modeling recurrent event data through the mean cumulative function (MCF) by the Nelson-Aalen estimator of the cumulative hazard rate function, and gamma frailty model with spline rate function;
  • comparing two-sample recurrent event responses with the pseudo-score tests.

Installation

You can install the released version from CRAN.

install.packages("reda")

Getting Started

Online documentation provides function documentations and includes package vignettes for

Development

The latest version of the package is under development at GitHub. If it is able to pass the building check by Travis CI, you may consider installing it with the help of remotes by

if (! require(remotes)) install.packages("remotes")
remotes::install_github("wenjie2wang/reda")

License

The R package reda is free software: You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version (at your option). See the GNU General Public License for details.

The R package reda is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Copy Link

Version

Install

install.packages('reda')

Monthly Downloads

568

Version

0.5.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenjie Wang

Last Published

June 27th, 2020

Functions in reda (0.5.1)

Recur-class

An S4 Class Representing Formula Response for Recurrent Event Data
valveSeats

Valve Seats Dataset
Survr

Formula Response for Recurrent Event Data
as.character,Recur-method

Convert An Recur Object to A Character Vector
Recur

Formula Response for Recurrent Event Data
Survr-class

An S4 Class Representing Formula Response
is.Recur

Is the xect from the Recur class?
rateReg-class

An S4 Class Representing a Fitted Model
confint,rateReg-method

Confidence Intervals for Covariate Coefficients
mcfDiff.test-class

An S4 Class Representing the Two-Sample Pseudo-Score Test Results
mcfDiff

Comparing Two-Sample MCFs
rateReg

Recurrent Events Regression Based on Counts and Rate Function
parametrize

Parametrizations of Covariates and Covariate Coefficients
plot-method

Plot Baseline Rate or Mean Cumulative Function (MCF)
baseRate

Estimated Baseline Rate Function
coef,rateReg-method

Estimated Coefficients of Covariates
simEvent-class

An S4 Class for Simulated Recurrent Event or Survival Times
check_Recur

Checks for Recurrent Event Data
simEvent

Simulated Survival times or Recurrent Events
BIC,rateReg-method

Bayesian Information Criterion (BIC)
AIC,rateReg-method

Akaike Information Criterion (AIC)
simuDat

Simulated Sample Dataset for Demonstration
summary,rateReg-method

Summarizing a Fitted Model
mcfDiff-class

An S4 Class Representing Sample MCF Difference
mcf.rateReg-class

An S4 Class Respresenting Estimated MCF from a Fitted Model
baseRate.rateReg-class

An S4 Class Representing Estimated Baseline Rate Function
reda-package

Recurrent Event Data Analysis
show-method

Show an object.
mcf.formula-class

An S4 Class Representing Sample MCF
mcf

Mean Cumulative Function (MCF)
Recur-to

Recurrent Episodes
summary.rateReg-class

An S4 Class Representing Summary of a Fitted Model