Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

r4ss (version 1.24.0)

plotCI: Plot points with confidence intervals.

Description

Given a set of x and y values and upper and lower bounds, this function plots the points with error bars. This was Written by Venables and modified to add access to ylim and contents.

Usage

plotCI(x, y = NULL, uiw, liw = uiw, ylo = NULL, yhi = NULL, ...,
  sfrac = 0.01, ymax = NULL, add = FALSE, col = "black")

Arguments

x

The x coordinates of points in the plot

y

The y coordinates of the points in the plot.

uiw

The width of the upper portion of the confidence region.

liw

The width of the lower portion of the confidence region.

ylo

Lower limit of y range.

yhi

Upper limit of y range.

sfrac

Fraction of width of plot to be used for bar ends.

ymax

Additional input for Upper limit of y range.

add

Add points and intervals to existing plot? Default=FALSE.

col

Color for the points and lines.

Additional inputs that will be passed to the function plot(x,y,ylim=ylim,...)