View source: R/regressionTools.R
limits | R Documentation |
helperfunction for limit line attributes
limits(
yIntercept = c(0),
color = c("blue"),
linetype = c(1),
size = c(1),
alpha = c(0.5)
)
yIntercept |
numeric vector where to place limit lines on the y-axis |
color |
colors of the limit lines |
linetype |
linetype (solid, dotted, etc) of the limit lines |
size |
width of the limit lines |
alpha |
alpha ('see through' factor) of the limit lines |
data.frame of the attributes
Other parameters are either one per line or one for all
if no limits are wanted/needed, set at least one parameter to NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.