scatterplot_predictions | R Documentation |
Makes a scatter plot of measured and predicted occupancy, with Pearson's correlation (R) between measured and predicted occupancy.
scatterplot_predictions( x, y, xlab = "measured", ylab = "predicted", title = "", xlim = c(0, 10), ylim = c(0, 10), color = "black" )
x |
x-axis values of points in the plot (measured). |
y |
y-axis values of points in the plot (predicted). |
xlab |
Label for the x axis. |
ylab |
Label for the y axis. |
title |
Title for the plot. |
xlim |
Range of x-axis values. |
ylim |
Range of y-axis values. |
color |
The plotting color. |
A ggplot
object for
the scatter plot of measured and predicted occupancy.
## Not run: scatterplot_predictions(x = asinh(chip), y = asinh(predicted), xlab = 'asinh(measured occupancy)', ylab = 'asinh(predicted occupancy)') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.