weightedPlot: Create the weighted plot for two vectors of equal length in a...

Description Usage Arguments Value See Also

View source: R/weightedPlot.R

Description

Discrete variables fit naturally within this scheme, but continuous ones can be rounded, creating discrete cut points for the data. This is accomplished by specifying roundX or roundY.

Usage

1
2
weightedPlot(df, x, y, roundX = NULL, roundY = NULL, zoomX = NULL,
  zoomY = NULL)

Arguments

df

A dataframe containing x and y

x

A vector

y

A vector

roundX

Number of digits for rounding x vector

roundY

Number of digits for rounding y vector

zoomX

If used, sets the plot to zoom type. Will limit X axis to -zoomX and + zoomX. Requires zoomY.

zoomY

If used, sets the plot to zoom type. Will limit X axis to -zoomX and + zoomX. Requires zoomX.

Value

Returns the weightedPlot with basic options to which you may add or replace ggplot elements.

See Also

pairCount


michaelpmcdonald/rgo documentation built on May 22, 2019, 9:52 p.m.