plotCholVrncToLDL {LDLcalc} | R Documentation |
Plots LDL variance versus increasing cholesterol variance
Description
Plots the variance of LDL (both Error Propagation and Bootstrap variance) versus increasing cholesterol variance.
Usage
plotCholVrncToLDL(dfCholVars, LDLCHOLVrncErrProp, LDLCHOLVrncBoot)
Arguments
dfCholVars |
A data frame with increasing variances of cholesterol. |
LDLCHOLVrncErrProp |
A vector with the error propagation variances of LDL when the cholesterol variance increases. |
LDLCHOLVrncBoot |
A vector with the bootstrap variances of LDL when the cholesterol variance increases. |
Value
The function creates a plot with the LDL error propagation and bootstrap variances versus increasing cholesterol variances.
Examples
# For HDL - CHOL:
# Make the DF of ascending variances for CHOL of sample
CHOLVariances = CV_Range(sampleA$CHOL,1,10,plot=FALSE)
LDLCHOLDependance = LDL_CHOLVrnc(CHOLVariances, sampleA$HDL, sampleA$TG, bootStrpReps=2000)
plotCholVrncToLDL(CHOLVariances,LDLCHOLDependance$ErrPropVrnc,LDLCHOLDependance$BootVrnc)
[Package LDLcalc version 2.1 Index]