LDL_eq: Calculates and returns the LDL Value for any of the 12...

View source: R/Equation_functions.R

LDL_eqR Documentation

Calculates and returns the LDL Value for any of the 12 different equations

Description

This function calculates and returns the LDL value computed from any of the 12 named equations.

Usage

LDL_eq(TC, HDL, TG, EqMethod)

Arguments

TC

The TC (Total Cholesterol) value.

HDL

The HDL (High-density lipoprotein- cholesterol) value.

TG

The TG (Triglyceride) value.

EqMethod

The type of equation to be used to calculate the LDL value.The type of equation to be used to calculate the LDL value. EqMethod could be:("Friedewald","Ahmadi","Chen","Anandaraja","NewFormula","deCordova","Vujovic","Hattori","Puavillai","Hatta","Martin180","Martin360","Martin2000","DeLong" or "Rao").

Value

The calculated LDL value, according to the equation of choice or a printed error message and 404, if the equation type does not exist.

Examples

LDL_eq(170.5,35.12,230,"Martin360")

LDLcalc documentation built on May 31, 2022, 5:07 p.m.