Learn R Programming

rERR (version 0.1)

Excess Relative Risk Models

Description

Fits a linear excess relative risk model by maximum likelihood, possibly including several variables and allowing for lagged exposures. Allow time dependent covariates.

Copy Link

Version

Install

install.packages('rERR')

Monthly Downloads

2

Version

0.1

License

GPL (>= 2)

Maintainer

Francesc Roca

Last Published

June 6th, 2018

Functions in rERR (0.1)

f_lrt

likelihood ratio test
confint.rERR

Confidence intervals
f_fit_linERR_ef

fit Excess Relative Risk Model
print.ci.rERR

Print ci rERR
f_fit_linERR_wf

fit Excess Relative Risk Model
f_exclusion

Exclusion period related with the latency - lag period
f_plot_linERR

plot the likelihood
f_to_event_table_ef_all

Data transformation: Event format -> Event format required for the model
f_fit_linERR

fit Excess Relative Risk Model (internal use)
f_to_event_table_ef_v2

Data transformation: Event format -> Event format required for the model (internal use)
f_fit_linERR_all

fit Excess Relative Risk Model
print.summary.rERR

Print summary rERR
f_to_event_table_wf_all

Data transformation: Wide format -> Event format required for the model
summary.rERR

summary of a ERR fit
f_plot_linERR_ef

plot likelihood function from ef
f_to_event_table_wf_v2

ata transformation: Wide format -> Event format required for the model (internal use)
f_parse_formula

Parse formula (internal use)
cohort_ef

Simulated cohort of subjects exposed to ct scans
cohort_wf

Simulated cohort of subjects exposed to ct scans
f_plot_linERR_wf

plot likelihood function from wf
f_risksets

Rsiksets
f_to_model_data

Data transformation: keep model variables and expand categorical variables (internal use)