Description Usage Arguments Examples
Add confidence intervals to a plot. Provide x and y vectors. Values can be Standard error (stder= TRUE,SE=SE) or upper condidence intervals and lower confidence itnervals (stder= FALSE).
1 | conf_inter(x, y, se=SE, stder=TRUE, low_ci=lowci, up_ci=upci, z=0.1,col="black",lty=1, lwd=1)
|
x |
vectors of values on the x axis |
y |
vectors of values on the y axis, mean values |
SE |
vectors of values on the for the standard error or CI |
stder |
TRUE if you have SE values (1.96*SE), FALSE if you already have CI limits |
low_ci |
vector with lower confidence limits |
up_ci |
vector with upper confidence limits |
z |
how large should the end of the forizontal line of the confidence interval, default is 0.1 |
col |
color, default is black |
lwd |
lwd line width, default is 1 |
lty |
line type, default is 1 |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.