plotCholVrncToLDL | R Documentation |
Plots the variance of LDL (both Error Propagation and Bootstrap variance) versus increasing cholesterol variance.
plotCholVrncToLDL(dfCholVars, LDLCHOLVrncErrProp, LDLCHOLVrncBoot)
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. |
The function creates a plot with the LDL error propagation and bootstrap variances versus increasing cholesterol variances.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.