preds_vs_obs_scatter_plot_2: Makes simple scatter plot

Description Usage Arguments

Description

The function makes a scatter plot of predicted vs oserved data points, with option to add a smooth function or a best fit line going through the origin, with R squared.

Usage

1

Arguments

df

dataframe with the data to plot.

x

variable to plot on the x axis.

y

variable to plot on the y axis.

add

character name of additional feature to add to the plot. Allowed for now are "loess" and "R2".


lorecatta/DENVclimate documentation built on Dec. 11, 2019, 7:05 a.m.