LDLErrPrp {LDLcalc} | R Documentation |
Calculate LDL variance using error propagation
Description
Function to calculate the LDL Variance according to error propagation (delta) method.
Usage
LDLErrPrp(CHOL, HDL, TG, divFactor = 5)
Arguments
CHOL |
A vector containing the cholesterol values to be used for LDL calculation. |
HDL |
A vector containing the HDL values to be used for LDL calculation. |
TG |
A vector containing the triglyceride values to be used for LDL calculation. |
divFactor |
The factor by which to divide the triglyceride values so as to approximate the VLDL. Default is 5, according to the Friedewald equation. |
Value
The function returns the error propagation variance of LDL calculated from the cholesterol, HDL and tryglyceride values passed as arguments.
References
Casella G, Berger RL. Statistical Inference. 2nd ed. Duxbury Thomson Learning; 2002.
Examples
## Not run:
LDLerrorPrp = LDLErrPrp(sampleA$CHOL, sampleA$HDL, sampleA$TG)
## End(Not run)
[Package LDLcalc version 2.1 Index]