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", upgrade = "never")

License

GNU General Public License (≥ 3)

Copy Link

Version

Install

install.packages('reda')

Monthly Downloads

535

Version

0.5.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Wenjie Wang

Last Published

July 8th, 2020

Functions in reda (0.5.2)

Survr-class

An S4 Class Representing Formula Response
check_Recur

Checks for Recurrent Event Data
mcf

Mean Cumulative Function (MCF)
mcf.formula-class

An S4 Class Representing Sample MCF
mcfDiff

Comparing Two-Sample MCFs
mcfDiff.test-class

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

Parametrizations of Covariates and Covariate Coefficients
plot-method

Plot Baseline Rate or Mean Cumulative Function (MCF)
coef,rateReg-method

Estimated Coefficients of Covariates
summary.rateReg-class

An S4 Class Representing Summary of a Fitted Model
simEvent-class

An S4 Class for Simulated Recurrent Event or Survival Times
simEvent

Simulated Survival times or Recurrent Events
rateReg-class

An S4 Class Representing a Fitted Model
rateReg

Recurrent Events Regression Based on Counts and Rate Function
valveSeats

Valve Seats Dataset
is.Recur

Is the xect from the Recur class?
confint,rateReg-method

Confidence Intervals for Covariate Coefficients
simuDat

Simulated Sample Dataset for Demonstration
mcf.rateReg-class

An S4 Class Respresenting Estimated MCF from a Fitted Model
mcfDiff-class

An S4 Class Representing Sample MCF Difference
summary,rateReg-method

Summarizing a Fitted Model
reda-package

Recurrent Event Data Analysis
show-method

Show an object.
baseRate

Estimated Baseline Rate Function
as.character,Recur-method

Convert An Recur Object to A Character Vector
Recur-to

Recurrent Episodes
Recur

Formula Response for Recurrent Event Data
Recur-class

An S4 Class Representing Formula Response for Recurrent Event Data
baseRate.rateReg-class

An S4 Class Representing Estimated Baseline Rate Function
Survr

Formula Response for Recurrent Event Data
AIC,rateReg-method

Akaike Information Criterion (AIC)
BIC,rateReg-method

Bayesian Information Criterion (BIC)