The International Model of Alcohol Harms and Policies

addCurrentFraction | Compute a given scenario's AAF for current drinkers and adds... |

addFormerFraction | Compute a given scenario's AAF for former drinkers and adds... |

addGenderStratifiedIntervalFraction | Compute a given scenario's AAF for current drinkers in the... |

addIntervalFraction | Compute a given scenario's AAF over the given interval (not... |

addIntervalFractions | Compute a given scenario's AAF over the given intervals (not... |

addTotalFraction | Compute a given scenario's Total AAF and adds it to the... |

calibrateSlope | Calibrate a loglinear Slope |

checkVars | Checks variable names |

clean | Clean data |

collapseDeprecated | Collapse deprecated IM designations |

computeCurrentFraction | Compute a given scenario's AAF for current drinkers |

computeFormerFraction | Compute a given scenario's AAF for former drinkers |

computeGenderStratifiedIntervalFraction | Compute a given scenario's AAF for current drinkers in the... |

computeIntervalFraction | Compute a given scenario's AAF for current drinkers in a... |

computePopnMetrics | Compute Population Metrics |

computeTotalFraction | Compute a given scenario's Total AAF |

crushBetas | Crush numbered variables |

distillModel | Extract and derive pertinent comparative scenario data from a... |

FemaleAcutePancreatitisSpline | The spline for Female Acute Pancreatitis |

femaleHypertensionSpline | The spline for female hypertension |

filterCalibrated | Filter calibrated forms from the rest |

filterFree | Filter well-defined (i.e. "free") forms from the rest |

getExpectedVars | Get variables expected to be in the given object type |

getExpectedVars_ | Get variables expected to be in the given object type |

getFPList | The master list of fractional polynomials |

imputeMissing | Impute missing values over entire dataset |

imputeWith | Provides a value to impute with |

intermahpr_sample_mm | Default Morbidity and Mortality Data |

intermahpr_sample_pc | Default Prevalence and Consumption Data |

intermahpr_sample_rr | Default Relative Risk Curve Data |

isMissing | Define missing data |

lowerVars | Converts data variable names to lower case and returns data |

makeAcutePancreatitisRisk | Factory for Special Spline Female Acute Pancreatitis Relative... |

makeBaseRisk | Factory for base well-defined rel. risk |

makeBingeRisk | Factory for binge-modified well-defined rel. risk. |

makeCalibratedFactories | Factory for AAF computer factories: conditions requiring... |

makeConditionalProbability | Factory for loglinear conditional probability functions |

makeCurrentCalibratedFactory | Factory for current drinker's AAF computer factory for a... |

makeCurrentFreeComponentFactory | Factory for the current drinker's component in an AAF... |

makeCurrentFreeFactory | Factory for current drinker's AAF computer factory for a... |

makeExtrapolatedRisk | Factory for linearly extrapolated well-defined rel. risk |

makeFormerCalibratedFactory | Factory for former drinker's AAF computer factory for a... |

makeFormerFreeComponentFactory | Factory for the former drinker's component in an AAF computer... |

makeFormerFreeFactory | Factory for former drinker's AAF computer factory for a... |

makeFractionalPolynomial | Factory for Fractional Polynomial Relative Risk Functions |

makeFreeFactories | Factory for AAF computer factories: conditions with... |

makeGamma | Factory for gamma distributions |

makeHivRisk | Factory for Special HIV Relative Risk Functions |

makeHypertensionRisk | Factory for Special Spline Hypertension Relative Risk... |

makeIntegrator | Factory for integrators |

makeNewModel | Construct a new intermahp model object |

makeNormalizedGamma | Factory for normalized gamma distributions |

makePreventableFraction | Factory for preventable fraction functions |

makeProduct | Factory for Pointwise Function Products |

makeScenario | make a scenario from a model object |

makeScenarios | make multiple scenarios |

maleHypertensionSpline | The spline for male hypertension |

prepareMM | Prepare Morb/Mort Data |

preparePC | Prepare Population Data |

prepareRR | Prepare Relative Risk Data |

queryYoung | Get age-groups present in morbidity/mortality dataset but... |

renderPCWide | Return PC dataset for viewing in wide format |

rescale | Rescale Population Data |

setPopnConstants | Set Population Constants |

splitGender | Split 'All' genders into specified levels |

splitOutcome | Split 'Combined' and 'Calibrated' outcomes into Morbidity and... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.