Learn R Programming

Temporal (version 0.3.0.2)

Parametric Time to Event Analysis

Description

Performs maximum likelihood based estimation and inference on time to event data, possibly subject to non-informative right censoring. FitParaSurv() provides maximum likelihood estimates of model parameters and distributional characteristics, including the mean, median, variance, and restricted mean. CompParaSurv() compares the mean, median, and restricted mean survival experiences of two treatment groups. Candidate distributions include the exponential, gamma, generalized gamma, log-normal, and Weibull.

Copy Link

Version

Install

install.packages('Temporal')

Monthly Downloads

264

Version

0.3.0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Zachary McCaw

Last Published

February 27th, 2026

Functions in Temporal (0.3.0.2)

DistProperName

Distributions
NewtonRaphson

Newton Raphson Estimation
PermP

Permutation P Value
QF

Quadratic Form
GammaScore

Gamma Profile Score for Shape
ParaRMST

Restricted Mean Survival Time
GenData

Data Generation with Censoring
WeiScore

Weibull Profile Score for Shape
WeiRate

Weibull Rate MLE
rWeibull

Simulation from the Weibull Distribution
show,contrast-method

Show Method for a Contrast of Survival Distributions.
contrast-class

Contrast of Survival Distributions.
EstDiff

Difference of Estimates
LogNormScore

Log-Normal Score Equation
GammaInfo

Gamma Observed Information
NRUpdate

Newton Raphson Update Iteration
show,fit-method

Show Method for Fitted Survival Distributions
rGenGamma

Simulation from the Generalized Gamma Distribution
rLogNormal

Simulation from the Log-Normal Distribution
fit-class

Fitted Survival Distribution
FitWeibull

Weibull Distribution Parameter Estimation
GenGammaRate

Generalized Gamma Rate MLE
WeiInfo

Weibull Information Matrix.
RoundDF

Round Data Frames
SurvFunc

Survival Functions
GenGammaScore

Generalized Gamma Score Equation
FitGenGamma

Generalized Gamma Distribution Parameter Estimation
qWeibull

Quantile Function for the Weibull Distribution
FitLogNormal

Log-Normal Distribution Parameter Estimation
GenGammaShape

Generalized Gamma Shape MLE
FitParaSurv

Fit Parametric Survival Distribution
WeiInit

Weibull Initialization.
Temporal-package

Temporal: Parametric Time to Event Analysis
SurvLogLik

Log Likelihood
LogNormInfo

Log-Normal Observed Information
rGamma

Simulation from the Gamma Distribution
print.fit

Print Method for Fitted Survival Distributions
print.contrast

Print Method for a Contrast of Survival Distributions.
CheckInit

Check Initialization
CheckInfoPD

Check Information Matrix Positive Definiteness
CheckDist

Check Distribution
CheckTheta

Check Theta
ContrastLocs

Contrast Locations
DefaultParam

Set Default Parameters
CheckArm

Check Arm
ContrastRMSTs

Contrast RMSTs
CompParaSurv

Compare Parametric Survival Distribution
CheckStatus

Status Check
FitGenGammaComplete

Generalized Gamma Parameter Estimation without Censoring
FitLogNormComplete

Log-Normal Parameter Estimation without Censoring
ExtractObsEst

Extract Observed Estimates
EstRatio

Ratio of Estimates
GenGammaProfileLogLik

Generalized Gamma Profile Log Likelihood
GenGammaObsInfo

Generalized Gamma Observed Information
FitGammaComplete

Gamma Parameter Estimation without Censoring
FitGamma

Gamma Distribution Parameter Estimation
FitExp

Exponential Distribution Parameter Estimation