View source: R/LDLErrorPropagation&bootstrapVariance.R
LDLErrPrp | R Documentation |
Function to calculate the LDL Variance according to error propagation (delta) method.
LDLErrPrp(CHOL, HDL, TG, divFactor = 5)
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. |
The function returns the error propagation variance of LDL calculated from the cholesterol, HDL and tryglyceride values passed as arguments.
Casella G, Berger RL. Statistical Inference. 2nd ed. Duxbury Thomson Learning; 2002.
## Not run:
LDLerrorPrp = LDLErrPrp(sampleA$CHOL, sampleA$HDL, sampleA$TG)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.