lineplot_ci | R Documentation |
Draws lines withs with confidence intervals
lineplot_ci(
x,
y,
y_lb,
y_ub,
data = NULL,
add = FALSE,
line_col = "darkblue",
ci_col = "gray80",
type = "l",
xlim = NULL,
ylim = NULL,
log = "",
xlab = NULL,
ylab = NULL,
ann = par("ann"),
axes = TRUE,
frame.plot = axes,
panel.first = grid(),
panel.last = NULL,
asp = NA,
...
)
x , y , y_lb , y_ub |
Column name or column number for the respective |
data |
data.frame with plotting data |
add |
TRUE/FALSE. TRUE adds the plot the previous plot, FALSE generates a new plot. |
line_col |
Color of line. Default is "darkblue". |
ci_col |
Color of confidence interval. Default is "gray80". |
... |
Other plotting parameters sent to plot. |
ed <- data.frame(
x = -10:10
, y = (-10:10)^2
, y_lb = (-10:10)^2 - 10
, y_ub = (-10:10)^2 + 10
, stringsAsFactors = FALSE)
plotstyle(style = upright)
lineplot_ci(x = 1, y = 2, y_lb = 3, y_ub = 4, data = ed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.