R/correlation_variables.R
correlation_scatterplot.Rd
Takes similar named variables and produces a matrix of scatterplots and their correlation coefficients to E.Coli.
correlation_scatterplot(df, ...) correlation_values(df, ...)
df | data.frame with data for e.coli and chosen variables in lagdays |
---|---|
... | Arguments passed to |
Plotting function. Returns a plot.
Returns correlation values.
correlation_values
: Internal function
#> Error in stats::cor(x = df[, 1], y = y, use = "pairwise.complete.obs", ...): unused argument (variable = "var")