# Event History Analysis

## Documentation for package ‘eha’ version 2.2-2

- DESCRIPTION file.
- Overview of user guides and package vignettes; browse directory.

## Help Pages

aftreg | Accelerated Failure Time Regression
aftreg.fit | Parametric proportional hazards regression
age.window | Age cut of survival data
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.
dEV | The EV Distribution
dgompertz | The Gompertz Distribution
dllogis | The Loglogistic Distribution
dmakeham | The Gompertz-Makeham Distribution
dpch | The Piecewise constant hazards (Pch) distribution
EV | The EV Distribution
fert | Marital fertility nineteenth century
geome.fit | Constant intensity discrete time proportional hazards
ghq | Gauss-Hermite
glmmboot | Generalized Linear Models with fixed effects grouping
glmmbootFit | Generalized Linear Models with fixed effects grouping
glmmML | Generalized Linear Models with random intercept
glmmML.fit | Generalized Linear Model with random intercept
Gompertz | The Gompertz Distribution
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 (Pch) distribution
hpch | The Piecewise constant hazards (Pch) distribution
Hweibull | The (Cumulative) Hazard Function of a Weibull Distribution
hweibull | The (Cumulative) Hazard Function of a Weibull Distribution
infants | Infant mortality and maternal death, Sweeden 1821-1894.
join.spells | Straighten up a survival data frame
Llogis | The Loglogistic Distribution
Lnorm | The Lognormal Distribution
logrye | Rye prices, Scania, southern Sweden, 1801-1894.
ltx | LaTeX printing of coxreg results.
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
oldmort | Old age mortality, Sundsvall, Sweden, 1860-1880.
pch | The Piecewise constant hazards (Pch) 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
plot.aftreg | Plots output from a Weibull regression
plot.coxreg | Plots of survivor functions.
plot.hazdata | Plots of survivor functions.
plot.phreg | Plots output from a Weibull regression
plot.Surv | Plots of survivor functions.
plot.weibreg | Plots output from a Weibull regression
pmakeham | The Gompertz-Makeham Distribution
ppch | The Piecewise constant hazards (Pch) distribution
print.aftreg | Prints aftreg objects
print.coxreg | Prints coxreg objects
print.glmmboot | Prints a 'glmmML' object.
print.glmmML | Prints a 'glmmML' object.
print.phreg | Prints phreg objects
print.weibreg | Prints weibreg objects
qEV | The EV Distribution
qgompertz | The Gompertz Distribution
qllogis | The Loglogistic Distribution
qmakeham | The Gompertz-Makeham Distribution
qpch | The Piecewise constant hazards (Pch) distribution
rEV | The EV Distribution
rgompertz | The Gompertz Distribution
risksets | Finds the compositions and sizes of risk sets
rllogis | The Loglogistic Distribution
rmakeham | The Gompertz-Makeham Distribution
rpch | The Piecewise constant hazards (Pch) distribution
scania | Old age mortality, Scania, southern Sweden, 1813-1894.
summary.aftreg | Prints aftreg objects
summary.coxreg | Prints coxreg objects
summary.glmmboot | Summary of a glmmboot object
summary.glmmML | Summary of a glmmML object
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.
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
weibreg | Weibull Regression
weibreg.fit | Weibull regression
wfunk | Loglihood function of a Weibull regression