conf_inter: add confidence intervals to a plot

Description Usage Arguments Author(s)

Description

Provide x and y vectors of values and if you have Standard error values or upper condidence intervals and lower confidence itnervals

Usage

1
conf_inter(x, y, se=SE, stder=TRUE, low_ci=lowci, up_ci=upci, z=0.1,col="black",lty=1, lwd=1)

Arguments

x

vectors of values on the x axis

y

vectors of values on the y axis

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

lty

line type, default is 1

lwd

line width, default is1

SE

vectors of values on the for the standard error if stder=TRUE

Author(s)

Cyril Milleret


cyrilmi/myfunctions documentation built on May 14, 2019, 1:39 p.m.