View source: R/Equation_functions.R
LDL_eq | R Documentation |
This function calculates and returns the LDL value computed from any of the 12 named equations.
LDL_eq(TC, HDL, TG, EqMethod)
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"). |
The calculated LDL value, according to the equation of choice or a printed error message and 404, if the equation type does not exist.
LDL_eq(170.5,35.12,230,"Martin360")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.