powered by
Function to calculate the LDL Variance according to error propagation (delta) method.
LDLErrPrp(CHOL, HDL, TG, divFactor = 5)
The function returns the error propagation variance of LDL calculated from the cholesterol, HDL and tryglyceride values passed as arguments.
A vector containing the cholesterol values to be used for LDL calculation.
A vector containing the HDL values to be used for LDL calculation.
A vector containing the triglyceride values to be used for LDL calculation.
The factor by which to divide the triglyceride values so as to approximate the VLDL. Default is 5, according to the Friedewald equation.
Casella G, Berger RL. Statistical Inference. 2nd ed. Duxbury Thomson Learning; 2002.
if (FALSE) { LDLerrorPrp = LDLErrPrp(sampleA$CHOL, sampleA$HDL, sampleA$TG) }
Run the code above in your browser using DataLab