mgsplot.scatter: create scatter plots

Description Usage Arguments Value

View source: R/mgsplot.scatter.R

Description

create scatter plots

Usage

1
2
mgsplot.scatter(dfIN, file, axisscale = "linear", colorpoints = FALSE,
  cbin = FALSE, colorbins = c(-1, 0, 1))

Arguments

dfIN:

dataframe ["X","Y"], ["X","Y","Z"],["X","Y","facet_var"], or ["X","Y","Z",facet_var"]. Where "Z" is the color scale. Names of dataframe columns are used to label the axes, color scale, and facets.

file:

is the name of the png file that is generated.

optional:

axisscale:

= 'linear'(default), can also use 'log10'

color:

logical = FALSE(default), = TRUE uses "Z" input to color points.

cbin:

logical = FALSE(default), = TRUE uses a binned color scale

colorbins:

=c(-1,0,1) which will be c(min, max, 0) sorted (default), can input any length vector to make bins of color

Value

ggplot object


michellegrace/mgs.dispersion documentation built on May 22, 2017, 7:33 a.m.