| compare | R Documentation |
Rows where x or y is missing are removed first.
compare(data, x, y, by = NULL)
data |
Data frame with the two columns, for example after a merge |
x |
First column (for example the reference dataset) |
y |
Second column |
by |
Optional group columns, for example |
Data frame with the by columns, n, r (Pearson), bias
(mean of y - x) and rmse
df <- data.frame(imd = c(1, 2, 3, 4), era5 = c(1.1, 2.3, 2.9, 4.2))
compare(df, "imd", "era5")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.