# Epidemiological calculator

## Documentation for package ‘epicalc’ version 2.15.1.0

- DESCRIPTION file.
- Code demos. Use demo() to run them.

## Help Pages

A B C D E F G H I K L M N O P R S T U V X Z

## -- A --

addMissingRecords | Add missing records to a longitudinal data set
adjust | Adjusted and standardized mean, proportion and rate
aggregate.numeric | Summary statistics of a numeric variable by group
aggregate.plot | Plot summary statistics of a numeric variable by group
alpha | Cronbach's alpha
alphaBest | Cronbach's alpha
ANCdata | Dataset on effect of new antenatal care method on mortality
ANCtable | Dataset on effect of new ANC method on mortality (as a table)
Attitudes | Dataset from an attitude survey among hospital staff
auc | Area under time-concentration curve

## -- B --

Bang | Dataset from 1988 Bangladesh Fertility Survey
be2ad | Change year in B.E. to A.D.
BP | Dataset on blood pressure and determinants

## -- C --

cc | Odds ratio calculation and graphing
cci | Odds ratio calculation and graphing
ci | Confidence interval of probabilty, mean and incidence
ci.binomial | Confidence interval of probabilty, mean and incidence
ci.default | Confidence interval of probabilty, mean and incidence
ci.numeric | Confidence interval of probabilty, mean and incidence
ci.poisson | Confidence interval of probabilty, mean and incidence
clogistic.display | Tables for multivariate odds ratio, incidence density etc
codebook | Codebook of a data frame
Compaq | Dataset on cancer survival
cox.display | Tables for multivariate odds ratio, incidence density etc
cs | Odds ratio calculation and graphing
csi | Odds ratio calculation and graphing

## -- D --

Decay | Dataset on tooth decay and mutan streptococci
des | Desription of a data frame or a variable
detachAllData | Detach all data frames
DHF99 | Dataset for exercise on predictors for mosquito larva infestation
dotplot | Dot plot

## -- E --

Ectopic | Dataset of a case-control study looking at history of abortion as a risk factor for ectopic pregnancy
expand | Expand an aggregated data frame

## -- F --

Familydata | Dataset of a hypothetical family
fillin | fillin - Rectangularize a dataframe
followup.plot | Longitudinal followup plot

## -- G --

graph.casecontrol | Odds ratio calculation and graphing
graph.prospective | Odds ratio calculation and graphing

## -- H --

Hakimi | Dataset on effect of training personnel on neonatal mortality
HW93 | Dataset from a study on hookworm prevalence and intensity in 1993

## -- I --

idr.display | Tables for multivariate odds ratio, incidence density etc
IudAdmit | Dataset admission of cases for IUD trials
IudDiscontinue | Dataset on discontinuation of the IUD trial cases
IudFollowup | Dataset followup cases of IUD trials

## -- K --

kap | Kappa statistic
kap.2.raters | Kappa statistic
kap.ByCategory | Kappa statistic
kap.default | Kappa statistic
kap.m.raters | Kappa statistic
kap.table | Kappa statistic
keepData | Keep a subset of variables or records

## -- L --

label.var | Variable manipulation
labelTable | Odds ratio calculation and graphing
lagVar | Create a vector of lagged or subsequent value
logistic.display | Tables for multivariate odds ratio, incidence density etc
lookup | Recode several values of a variable
lroc | ROC curve
lrtest | Likelihood ratio test
lsNoFunction | List non-function objects

## -- M --

make2x2 | Odds ratio calculation and graphing
markVisits | Mark visits of subjects in a long format
Marryage | Dataset on age at marriage
matchTab | Matched tabulation
merge.lab | Merge two data frames with variable labels kept
mhor | Mantel-Haenszel odds ratio
mlogit.display | Tables for multivariate odds ratio, incidence density etc
Montana | Dataset on arsenic exposure and respiratory deaths

## -- N --

n.for.2means | Sample size calculation
n.for.2p | Sample size calculation
n.for.cluster.2means | Sample size calculation
n.for.cluster.2p | Sample size calculation
n.for.equi.2p | Sample size calculation
n.for.lqas | Sample size calculation
n.for.noninferior.2p | Sample size calculation
n.for.survey | Sample size calculation

## -- O --

ordinal.or.display | Tables for multivariate odds ratio, incidence density etc
Oswego | Dataset from an outbreak of food poisoning in US
Outbreak | Dataset from an outbreak of food poisoning on a sportsday, Thailand 1990.

## -- P --

pack | Variable manipulation
Planning | Dataset for practicing cleaning, labelling and recoding
poisgof | Goodness of fit test for modeling of count data
power.for.2means | Power calculation for two sample means and proportions
power.for.2p | Power calculation for two sample means and proportions
print.alpha | Print alpha object
print.cci | Print cci results
print.des | Print 'des' results
print.display | Tables for multivariate odds ratio, incidence density etc
print.kap.ByCategory | Print kap.ByCategory results
print.kap.table | Print kap.table results
print.lrtest | Print lrtest results
print.n.for.2means | Print n.for.2means results
print.n.for.2p | Print n.for.2p results
print.n.for.cluster.2means | Print n.for.cluster.2means results
print.n.for.cluster.2p | Print n.for.cluster.2p results
print.n.for.equi.2p | Print n.for.equi.2p results
print.n.for.lqas | Print n.for.lqas results
print.n.for.noninferior.2p | Print n.for.noninferior.2p results
print.n.for.survey | Print n.for.survey results
print.power.for.2means | Print power.for.2means results
print.power.for.2p | Print power.for.2p results
print.summ | Print 'summ' results
print.tab1 | One-way tabulation
print.tableStack | Print tableStack object
pyramid | Population pyramid

## -- R --

recode | Recode variable(s)
recode.default | Recode variable(s)
recode.is.na | Recode variable(s)
regress.display | Tables for multivariate odds ratio, incidence density etc
ren | Rename variable(s) in the default data frame
rename | Rename variable(s) in the default data frame
rename.default | Rename variable(s) in the default data frame
rename.pattern | Rename variable(s) in the default data frame
rename.var | Rename variable(s) in the default data frame
roc.from.table | ROC curve

## -- S --

setTitle | Setting the displayed language of Epicalc graph title
shapiro.qqnorm | Qqnorm plots with Shapiro-Wilk's test
Sleep3 | Dataset on sleepiness in a workshop
SO2 | Dataset on air pollution and deaths in UK
sortBy | Sort data frame by variable(s)
summ | Summary with graph
Suwit | Hookworm infection and blood loss: SEAJTM 1970

## -- T --

tab1 | One-way tabulation
tableGlm | Tables for multivariate odds ratio, incidence density etc
tableStack | Tabulation of variables in a stack form
tabpct | Two-way tabulation with mosaic plot
tally.events | Tally a date variable by larger time unit
Timing | Dataset on time going to bed, waking up and arrival at a workshop
titleString | Replace commonly used words in Epicalc graph title

## -- U --

unclassDataframe | Unclass factor(s) in the default data frame
use | Command to read in and attach data

## -- V --

VC1to1 | Datasets on a matched case-control study of esophageal cancer
VC1to6 | Datasets on a matched case-control study of esophageal cancer
VCT | Dataset on attitudes toward VCT

## -- X --

Xerop | Dataset from an Indonesian study on vitamin A deficiency and risk of respiratory infection

## -- Z --

zap | Remove and detach all