cutpoint: Calculate prevalence of inadequate intakes using the cutpoint...

View source: R/cutpoint.R

cutpointR Documentation

Calculate prevalence of inadequate intakes using the cutpoint method

Description

This function calculates the prevalence of inadequate intakes using the EAR cutpoint method.

Usage

cutpoint(intake_avg, intake_cv, intake_dist, ear)

Arguments

intake_avg

Mean of the habitual intake distribution

intake_cv

Coefficient of variation (CV) of the habitual intake distribution

intake_dist

Type of the habitual intake distribution: normal, lognormal, or gamma

ear

Estimated Average Requirement (EAR)

Value

The percent of a population with inadequate nutrient intakes (SEV)

Examples

cutpoint(intake_avg=6, intake_cv=0.25, intake_dist="normal", ear=8)
cutpoint(intake_avg=6, intake_cv=0.25, intake_dist="gamma", ear=8)
cutpoint(intake_avg=6, intake_cv=0.25, intake_dist="lognormal", ear=8)

cfree14/nutriR documentation built on Oct. 31, 2024, 6:27 p.m.