LDL_eq {LDLcalc} | R 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")
[Package LDLcalc version 2.1 Index]