Description Usage Arguments Value Examples
View source: R/plot_templates.r
This scatterplot is a wrapper function for a ggplot-based plot. It containes additional text panel that shows values calculated with calc.error
1 2 3 4 5 |
x |
a vector of observed data. |
y |
a vector of predicted data. |
by |
optional grouping variable. Can be character or factor |
axisorder |
Optional. Set to |
xlab |
Optional. Title of the x-axis |
ylab |
Optional. Title of the y-axis |
info |
A logical value indictating whether information on count, bias and RMSE should be added to the plot. |
position |
Determines the position of the info box |
positionauto |
A logical value indicating whether the position of the info box should be optimized automaticaly. |
lowerlimit |
A value determining the lower limit of the x and y axis |
upperlimit |
A value determining the upper limit of the x and y axis |
alpha |
Define the transparency of the points. 0 - fully transparent, 1 - opaque. |
add.reg.line |
Logical. Should the regression line be added to the plot? Regression coeficients are calculated automatically. |
rug |
Logical. Add marginal rug to the plot. |
label_text |
A character vector of length=5 defining the names for the values in the info box. |
a scatterplot of x
and y
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.