scatterPlot: Scatterplot for hkm2014esa poster

Description Usage Examples

View source: R/scatterPlot.R

Description

Produces a scatterplot via ggplot

Usage

1
scatterPlot(df, xvar, yvar, pt_col, ln_col, cl_col, ...)

Examples

1
2
3
4
5
6
7
8
9
devtools::install_github("wesanderson","jhollist")
library('wesanderson')
data(LakeTrophicModelling)
mydf<-data.frame(chla=ltmData[["CHLA"]],biovp1=ltmData[["sumBioV"]]+1)
zissou2<-wes.palette(5,"Zissou2")
scatterPlot(mydf,xvar="chla",yvar="biovp1",zissou2[3],zissou2[2],zissou2[1],
            title="Chlorophyll and Cyanobacterai Relationship",
            x=expression(paste('Log10(Chl ', italic("a"),')')),
            y="Log10(Cyanobaterial Abundance + 1)")

USEPA/LakeTrophicModelling documentation built on Oct. 15, 2020, 4:13 p.m.