Skip to contents

All functions

alcohol
Alcohol consumption in Australia from Pandeya et al
as.data.frame
Transform a pif object into a data.frame
as.list
Convert to list
as.matrix
Convert a covariance_structure to matrix
as_covariance_structure()
Transform into a covariance structure
cancer_rr
Relative risks for cancer from Pandeya et al
averted_cases() attributable_cases()
Attributable cases
change_link()
Change the link
children()
Get the children labels from a pif_class
pif_class() cases_class() pif_atomic_class() pif_global_ensemble_class() pif_total_class() pif_ensemble_class()
Potential Impact Fraction related classes
coef
Extract coefficients of a pif object
confint
Extract confidence intervals of a pif object
covariance_structure_class()
Covariance structure class
covariance_structure() covariance_structure2() default_weight_covariance_structure() default_weight_covariance_structure2() default_parameter_covariance_structure() default_parameter_covariance_structure2() default_pif_covariance_structure() default_pif_covariance_structure2() default_weight_pif_covariance_structure() default_weight_pif_covariance_structure2()
Default covariance structures
covariance() variance() standard_deviation() correlation()
Covariance matrix, correlation matrix, variance and standard deviation for potential impact fractions
dementiacov
Relative risk covariance from Lee et al
dementiarisk
Exposure and Relative Risk data from Lee et Al
deriv_logit() deriv_log_complement() deriv_hawkins() deriv_identity()
Derivatives of link functions
deriv_pif_p() deriv_pif_beta()
Partial derivatives of PIF
flatten_names()
Names of a PIF's components
fraction_type()
Get the type of the fraction
inv_logit() inv_log_complement() inv_hawkins()
Inverses of link functions
length
Length of a covariance_structure
parse_link() parse_inv_link() parse_deriv_link()
Link parsers
logit() log_complement() hawkins()
Link functions
names
Get the label of a PIF or PAF
paf() pif()
Potential Impact fraction and Population Attributable Fraction
print
Print or show a potential impact fraction
row_names() col_names()
Row and Column names
subset
Subset a covariance_structure
summary
Summary of a pif object
paf_total() pif_total() paf_ensemble() pif_ensemble()
Combine Potential Impact Fractions and Population Attributable Fractions
weights
Extract weights of a pif_global_ensemble