Learn R Programming

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

eha (version 1.0)

Event History Analysis

Description

A package for survival and event history analysis

Copy Link

Version

Install

install.packages('eha')

Monthly Downloads

2,584

Version

1.0

License

GPL (>= 3)

Maintainer

Gran Brostrm

Last Published

September 20th, 2024

Functions in eha (1.0)

summary.weibreg

Prints a weibreg object
toBinary

Transforms a "survival" data frame into a data frame suitable for binary (logistic) regression
plot.Surv

Plots of survivor functions.
print.weibreg

Prints weibreg objects
table.events

Calculating failure times, risk set sizes and No. of events in each risk set
toDate

Convert time in years since "0000-01-01" to a date.
make.communal

Put communals in "fixed" data frame
age.window

Age cut of survival data
wfunk

Loglihood function of a Weibull regression
join.spells

Straighten up a survival data frame
cal.window

Calendar time cut of survival data
print.coxreg

Prints coxreg objects
mlreg

ML proportional hazards regression
risksets

Finds the compositions and sizes of risk sets
hweibull

The (Cumulative) Hazard Function of a Weibull Distribution
geome.fit

Constant intensity discrete time proportional hazards
toTime

Calculate duration in years from "0000-01-01" to a given date
perstat

Period statistics
coxreg.fit

Cox regression
cro

Creates a minimal representation of a data frame.
piecewise

Piecewise hazards
plot.weibreg

Plots output from a Weibull regression
summary.coxreg

Prints coxreg objects
coxreg

Cox regression
weibreg

Weibull Regression
weibreg.fit

Weibull regression
check.surv

Check the integrity of survival data.