# Event History Analysis

## Documentation for package ‘eha’ version 2.8.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A C D E F G H I J L M O P Q R S T W

eha-package | eha: Event History Analysis

## -- A --

aftreg | Accelerated Failure Time Regression
aftreg.fit | Parametric proportional hazards regression
age.window | Age cut of survival data

## -- C --

cal.window | Calendar time cut of survival data
check.dist | Graphical goodness-of-fit test
check.surv | Check the integrity of survival data.
coxreg | Cox regression
coxreg.fit | Cox regression
cro | Creates a minimal representation of a data frame.

## -- D --

dEV | The EV Distribution
dgompertz | The Gompertz Distribution
dllogis | The Loglogistic Distribution
dlnorm | The Lognormal Distribution
dmakeham | The Gompertz-Makeham Distribution
dpch | The Piecewise Constant Hazards distribution.

## -- E --

eha | eha: Event History Analysis
eha-defunct | Defunct functions
EV | The EV Distribution

## -- F --

fert | Marital fertility nineteenth century
frail.fit | Frailty experiment

## -- G --

geome.fit | Constant intensity discrete time proportional hazards
ghq | Defunct functions
glmmboot | Defunct functions
glmmbootFit | Defunct functions
glmmML | Defunct functions
glmmML.fit | Defunct functions
Gompertz | The Gompertz Distribution
gompertz | The Gompertz Distribution

## -- H --

HEV | The EV Distribution
hEV | The EV Distribution
Hgompertz | The Gompertz Distribution
hgompertz | The Gompertz Distribution
Hllogis | The Loglogistic Distribution
hllogis | The Loglogistic Distribution
Hlnorm | The Lognormal Distribution
hlnorm | The Lognormal Distribution
Hmakeham | The Gompertz-Makeham Distribution
hmakeham | The Gompertz-Makeham Distribution
Hpch | The Piecewise Constant Hazards distribution.
hpch | The Piecewise Constant Hazards distribution.
Hweibull | The (Cumulative) Hazard Function of a Weibull Distribution
hweibull | The (Cumulative) Hazard Function of a Weibull Distribution

## -- I --

infants | Infant mortality and maternal death, Sweeden 1821-1894.

## -- J --

join.spells | Straighten up a survival data frame

## -- L --

Llogis | The Loglogistic Distribution
Lnorm | The Lognormal Distribution
Loglogistic | The Loglogistic Distribution
Lognormal | The Lognormal Distribution
logrye | Rye prices, Scania, southern Sweden, 1801-1894.
ltx | LaTeX printing of coxreg results.

## -- M --

make.communal | Put communals in "fixed" data frame
makeham | The Gompertz-Makeham Distribution
male.mortality | Male mortality in ages 40-60, nineteenth century
mlreg | ML proportional hazards regression
mort | Male mortality in ages 40-60, nineteenth century
mpch | The Piecewise Constant Hazards distribution.

## -- O --

oe | Create an oe object
oldmort | Old age mortality, Sundsvall, Sweden, 1860-1880.

## -- P --

Pch | The Piecewise Constant Hazards distribution.
pch | The Piecewise Constant Hazards distribution.
perstat | Period statistics
pEV | The EV Distribution
pgompertz | The Gompertz Distribution
phfunc | Loglihood function of a proportional hazards regression
phreg | Parametric Proportional Hazards Regression
phreg.fit | Parametric proportional hazards regression
piecewise | Piecewise hazards
pllogis | The Loglogistic Distribution
plnorm | The Lognormal Distribution
plot.aftreg | Plots output from an AFT regression
plot.coxreg | Plot method for 'coxreg' objects
plot.hazdata | Plots of survivor functions.
plot.phreg | Plots output from a phreg regression
plot.tpchreg | Plots output from a tpchreg regression
plot.weibreg | Plots output from a Weibull regression
pmakeham | The Gompertz-Makeham Distribution
ppch | The Piecewise Constant Hazards distribution.
print.aftreg | Prints aftreg objects
print.coxreg | Prints coxreg objects
print.phreg | Prints phreg objects
print.risksets | Prints a summary of the content of a set of risk sets.
print.tpchreg | Prints tpchreg objects
print.weibreg | Prints weibreg objects

## -- Q --

qEV | The EV Distribution
qgompertz | The Gompertz Distribution
qllogis | The Loglogistic Distribution
qlnorm | The Lognormal Distribution
qmakeham | The Gompertz-Makeham Distribution
qpch | The Piecewise Constant Hazards distribution.

## -- R --

rEV | The EV Distribution
rgompertz | The Gompertz Distribution
risksets | Finds the compositions and sizes of risk sets
rllogis | The Loglogistic Distribution
rlnorm | The Lognormal Distribution
rmakeham | The Gompertz-Makeham Distribution
rpch | The Piecewise Constant Hazards distribution.

## -- S --

scania | Old age mortality, Scania, southern Sweden, 1813-1894.
summary.aftreg | Prints aftreg objects
summary.coxreg | Prints coxreg objects
summary.phreg | Prints phreg objects
summary.weibreg | Prints a weibreg object
SurvSplit | Split a survival object at specified durations.
swe07 | Swedish population and deaths in ages 61-80, 2007.

## -- T --

table.events | Calculating failure times, risk set sizes and No. of events in each risk set
toBinary | Transforms a "survival" data frame into a data frame suitable for binary (logistic) regression
toDate | Convert time in years since "0000-01-01" to a date.
toTime | Calculate duration in years from "0000-01-01" to a given date
toTpch | Transform a "survival" data frame Surv(enter, exit, event) to tabular form with 'event' and 'exposure' and aggregating
tpchreg | Proportional hazards regression with piecewise constant hazards and tabular data.

## -- W --

weibreg | Weibull Regression
weibreg.fit | Weibull regression
Weibull | The (Cumulative) Hazard Function of a Weibull Distribution
wfunk | Loglihood function of a Weibull regression