Functions for Epidemiological Analysis using Population Data
Convert factor variable to numeric
Flexible Variable Usage in popEpi
Functions
Change output values from cut(..., labels = NULL) output
Direct Adjusting in popEpi
Using Weights
Adjust Estimates by Categorical Variables
Aggregation of split Lexis
data
Excess hazard Poisson model
Check if all names are present in given data
array
s, data.frame
s and ratetable
s
Coercion to Class aggre
Coerce Fractional Year Values to Date Values
Cast data.table
/data.frame
from long format to wide format
Convert date objects to fractional years
Test if object is a Date
object
Detect leap years
Create a Lexis Object with Follow-up Time, Period, and Age Time Scales
Split case-level observations
lines method for sirspline-object
Graphically Inspect Curves Used in Mean Survival Computation
lines
method for survtab objects
Return lower_bound value from char string (20,30]
Tabulate Counts and Other Functions by Multiple Variables into a Long-...
Convert NA's to zero in data.table
plot method for rate object
Plot method for sir-object
Attempt coercion to integer
plot
method for sirspline-object
Graphically Inspect Curves Used in Mean Survival Computation
plot
method for survtab objects
Get rate and exact Poisson confidence intervals
popEpi: Functions for large-scale epidemiological analysis
Convert values to numeric robustly
Expected / Population Hazard Data Sets Usage in popEpi
Prepare Exposure Data for Aggregation
Print an aggre
Object
Print an rate object
Print a survtab Object
Direct-Standardised Incidence/Mortality Rates
Confidence intervals for the rate ratios
Excess hazard Poisson model
Marginal piecewise parametric relative survival curve
Relative Poisson family object
Set aggre
attributes to an object by modifying in place
Set the class of an object (convenience function for `setattr(obj, "cl...
Delete data.table
columns if there
Calculate SIR or SMR
Calculate SMR
Confidence intervals for the ratio of two SIRs/SMRs
Estimate splines for SIR or SMR
Split case-level observations
Split case-level observations
Summarize an aggre
Object
Summarize a survtab Object
Survival Objects
Compute Mean Survival Times Using Extrapolation
Estimate Survival Time Functions
Estimate Survival Time Functions
Enables computation of epidemiological statistics, including those where counts or mortality rates of the reference population are used. Currently supported: excess hazard models (Dickman, Sloggett, Hills, and Hakulinen (2012) <doi:10.1002/sim.1597>), rates, mean survival times, relative/net survival (in particular the Ederer II (Ederer and Heise (1959)) and Pohar Perme (Pohar Perme, Stare, and Esteve (2012) <doi:10.1111/j.1541-0420.2011.01640.x>) estimators), and standardized incidence and mortality ratios, all of which can be easily adjusted for by covariates such as age. Fast splitting and aggregation of 'Lexis' objects (from package 'Epi') and other computations achieved using 'data.table'.
Useful links