All functions

dEV() pEV() qEV() hEV() HEV() rEV()

The EV Distribution

dgompertz() pgompertz() qgompertz() hgompertz() Hgompertz() rgompertz()

The Gompertz Distribution

dllogis() pllogis() qllogis() hllogis() Hllogis() rllogis()

The Loglogistic Distribution

hlnorm() Hlnorm()

The Lognormal Distribution

ppch() dpch() hpch() Hpch() qpch() mpch() rpch()

The Piecewise Constant Hazards distribution.

SurvSplit()

Split a survival object at specified durations.

hweibull()

The (Cumulative) Hazard Function of a Weibull Distribution

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.

child

Child mortality, Skellefteå, Sweeden 1850--1900.

compHaz()

Graphical comparison of cumulative hazards

coxfunk()

Loglihood function (partial likelihood) of a Cox regression

coxreg()

Cox regression

coxreg.fit()

Cox regression

cro()

Creates a minimal representation of a data frame.

eha-package

eha: Event History Analysis

fert

Marital fertility nineteenth century

frail.fit()

Frailty experiment

geome.fit()

Constant intensity discrete time proportional hazards

hazards()

Get baseline hazards atoms from fits from

import_Surv

Surv function imported from survival

import_strata

strata function imported from survival

infants

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

join.spells()

Straighten up a survival data frame

logrank()

The Log-rank test

scania

Rye prices, Scania, southern Sweden, 1801-1894.

ltx()

LaTeX printing of regression results.

make.communal()

Put communals in "fixed" data frame

dmakeham() pmakeham() qmakeham() hmakeham() Hmakeham() rmakeham()

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

oe()

Create an oe object

oldmort

Old age mortality, Sundsvall, Sweden, 1860-1880.

pchreg()

Piecewise Constant Proportional Hazards Regression

perstat()

Period statistics

phfunc()

Loglihood function of a proportional hazards regression

phreg()

Parametric Proportional Hazards Regression

phreg.fit()

Parametric proportional hazards regression

piecewise()

Piecewise hazards

plot(<aftreg>)

Plots output from an AFT regression

plot(<coxreg>)

Plot method for coxreg objects

plot(<hazdata>)

Plots of hazdata objects.

plot(<logrank>)

Plots of hazdata objects.

plot(<phreg>)

Plots output from a phreg regression

plot(<tpchreg>)

Plots output from a tpchreg regression

plot(<weibreg>)

Plots output from a Weibull regression

plotHaz()

Graphical comparing of cumulative hazards

print(<aftreg>)

Prints aftreg objects

print(<coxreg>)

Prints coxreg objects

print(<logrank>)

Prints logrank objects

print(<phreg>)

Prints phreg objects

print(<risksets>)

Prints a summary of the content of a set of risk sets.

print(<summary.aftreg>)

Prints summary.aftreg objects

print(<summary.coxreg>)

Prints summary.coxreg objects

print(<summary.phreg>)

Prints summary.phreg objects

print(<summary.tpchreg>)

Prints summary.tpchreg objects

print(<tpchreg>)

Prints tpchreg objects

print(<weibreg>)

Prints weibreg objects

regtable()

Retrieves regression tables

risksets()

Finds the compositions and sizes of risk sets

scania

Old age mortality, Scania, southern Sweden, 1813-1894.

summary(<aftreg>)

Prints aftreg objects

summary(<coxreg>)

A summary of coxreg objects.

summary(<phreg>)

A summary of phreg objects.

summary(<tpchreg>)

Summary for tpchreg objects

summary(<weibreg>)

Prints a weibreg object

swedeaths

Swedish death data, 1968-2019.

swepop

Swedish population data, 1968-2019.

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 survival data to tabular form

tpchreg()

Proportional hazards regression with piecewise constant hazards and tabular data.

weibreg()

Weibull Regression

weibreg.fit()

Weibull regression

wfunk()

Loglihood function of a Weibull regression