Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (2.60) of this package.
Take me there.
Epi (version 0.1)
A package for statistical analysis in epidemiology.
Description
Useful functions for demographic and epidemiological analysis in the Lexis diagram, i.e. register and cohort follow-up data.
Copy Link
Link to current version
Version
Version
2.60
2.59
2.58
2.57
2.56
2.55
2.53
2.52
2.51
2.50
2.48
2.47.1
2.47
2.46
2.44
2.43
2.42
2.41
2.40
2.38
2.37
2.35
2.34
2.32
2.30
2.28
2.26
2.19
2.16
2.15
2.12
2.7
2.0
1.1.71
1.1.67
1.1.65
1.1.49
1.1.44
1.1.40
1.1.36
1.1.34
1.1.33
1.1.24
1.1.20
1.1.17
1.1.15
1.1.14
1.1.12
1.1.10
1.1.9
1.1.7
1.1.2
1.0.12
1.0.10
1.0.8
1.0.7
1.0.5
0.7.0
0.6.2
0.6.0
0.4
0.2
0.1
Install
install.packages('Epi')
Monthly Downloads
8,266
Version
0.1
License
GPL Version 2 or newer.
Maintainer
Bendix Carstensen
Last Published
July 8th, 2025
Functions in Epi (0.1)
Search all functions
Calendar year
Functions representing dates as fractional calendar years
twoby2
Analysis of a two by two table
ncut
Function to group a variable in intervals.
ci.pd
Compute confidence limits for a difference of two independent proportions.
pctab
Create percentages in a table
Lexis.diagram
Plot a Lexis diagram
Lexis.lines
Draw life lines in a Lexis diagram.
Lexis
Split follow-up time in cohort studies.
float
Calculate floated variances
Life.lines
Compute dates/ages for life lines in a Lexis diagram
plotEst
Plot estimates with confidence limits
stat.table
Tables of summary statistics
apc.frame
Produce an empty frame for display of parameter-estimates from Age-Period-Cohort-models.
ccwc
Generate a nested case-control study
ftrend
Fit a floating trend to a factor in generalized linear model
mh
Mantel-Haenszel analyses of cohort and case-control studies
ROC
Function to compute and draw ROC-curves.
rateplot
Functions to plot rates from a table classified by age and calendar time (period)
Relevel
Reorder and combine levels of a factor
apc.lines
Plot APC-estimates in an APC-frame.
ci.lin
Compute linear functions of parameters with s.e.
tabplot
Graphical display of a 2-way contingency table
stattable.funs
Special functions for use in stat.table
nice
Nice breakpoints
nickel
A Cohort of Nickel Smelters in South Wales
brv
Bereavement in an elderly cohort
lep
An unmatched case-control study of leprosy incidence
bdendo
A case-control study of endometrial cancer
bdendo11
A 1:1 subset of the endometrial cancer case-control study
diet
Diet and heart data