plotTGVrncToLDL | R Documentation |
Plots the variance of LDL (both Error Propagation and Bootstrap variance) versus increasing triglyceride variance.
plotTGVrncToLDL(dfTGVars, LDLTGVrncErrProp, LDLTGVrncBoot)
dfTGVars |
A data frame with increasing variances of triglycerides. |
LDLTGVrncErrProp |
A vector with the error propagation variances of LDL when the triglyceride variance increases. |
LDLTGVrncBoot |
A vector with the bootstrap variances of LDL when the triglycerides variance increases. |
The function creates a plot with the LDL error propagation and bootstrap variances versus increasing triglyceride variances.
## For LDL - TG:
# Make the DF of ascending variances for TG of sample
TGVariances = CV_Range(sampleA$TG,15,16,plot=FALSE)
# Get the Error Propagation and the Bootstrap variance of LDL relative to TG
LDLTGSampleDependance = LDL_TGVrnc(TGVariances,sampleA$CHOL, sampleA$HDL, bootStrpReps =2000)
plotTGVrncToLDL(TGVariances,LDLTGSampleDependance$ErrPropVrnc,LDLTGSampleDependance$BootVrnc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.