The function generates a plot of admin unit 1 level FOI observations against predictions with the R2 shown.

generic_scatter_plot(df, x, y)

Arguments

df

dataframe admin unit 1 level FOI observations and predictions.

x

character of the column name containing the observations.

y

character of the column name containing the predictions.#