Description Usage Arguments Value
prints a correlation plot of two variables colored by creek
1 2 3 4 5 6 7 8 9 10  | cor_creeks(
  var1,
  var2,
  creeks,
  creek_labs,
  labs = c("var1", "var2"),
  cols = length(creek_labs),
  leg_pos = "topleft",
  a = 0.33
)
 | 
var1 | 
 is a numeric vector  | 
var2 | 
 is a numeric vector length('var1')  | 
creeks | 
 is a character vector of creek names  | 
creek_labs | 
 is a character vector providing creek labels  | 
labs | 
 is a character vector providing two plot labels in order 'var1' 'var2'  | 
leg_pos | 
 is a character vector denoting legend position  | 
a | 
 is the level of alpha transparency (0,1)  | 
a scatter plot of 'var1' vs. 'var2' with a linear fit line
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.