LDL_DensityPlotOfbootst | R Documentation |
Plot density of the bootstrap variance for LDL along with the median, 2.5 and 97.5 percentile as vertical lines. Also plots the empirical variance as a segment from the bottom to the middle of the graph and the error propagation variance as a line segment from the top to the middle of the graph. DF must the dataframe of the list returned from the respective Bootstrap variance function.
LDL_DensityPlotOfbootst(DF, title = "", empirVrnc, errPropVrnc)
DF |
The data frame containing the bootstrap variances of LDL. |
title |
Title of the plot (default="") |
empirVrnc |
The value of of the empirical (experimental) variance. |
errPropVrnc |
The value of the error propagation variance. |
Plots the respective plot.
## Not run:
LDL_empirVrnc = var(sampleA$LDL)
LDL_errPropVrnc = LDLErrPrp(sampleA$CHOL,sampleA$HDL,sampleA$TG)
LDLbootStrp=as.data.frame(LDLbootVrnc(sampleA$CHOL,sampleA$HDL,sampleA$TG))
LDL_DensityPlotOfbootst(LDLbootStrp,"Title",LDL_empirVrnc,LDL_errPropVrnc)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.