Learn R Programming

metaplot (version 0.1.2)

scatter: Scatterplot

Description

Scatterplot.

Scatterplot for class 'data.frame'.

Scatterplot for class 'folded'.

Usage

scatter(x, ...)

# S3 method for data.frame scatter(x, .y, .x, groups = NULL, ..., ylog = FALSE, xlog = FALSE, yref = NULL, xref = NULL, ysmooth = FALSE, xsmooth = FALSE, cols = 3, density = FALSE, iso = FALSE, main = TRUE, group_codes = NULL, crit = 1.3)

# S3 method for folded scatter(x, .y, .x, groups = NULL, ..., ylog = FALSE, xlog = FALSE, yref = NULL, xref = NULL, ysmooth = FALSE, xsmooth = FALSE, cols = 3, density = FALSE, iso = FALSE, main = TRUE, crit = 1.3)

Arguments

x

object

...

passed arguments

.y

y axis item

.x

x axis item

groups

optional grouping item

ylog

log transform y axis (guessed if missing)

xlog

log transform x axis (guessed if missing)

yref

reference line from y axis

xref

reference line from x axis

ysmooth

supply loess smooth of y on x

xsmooth

supply loess smmoth of x on y

cols

suggested columns for auto.key

density

plot point density instead of points

iso

use isometric axes with line of unity

main

print Pearson correlation coefficient as title

group_codes

append these to group values for display purposes

crit

if ylog or xlog missing, log transform if mean/median ratio for non-missing values is greater than crit

Methods (by class)

  • data.frame: data.frame method

  • folded: folded method

See Also

Other generic functions: axislabel, continuous, corsplom, dens, guide, label, metaplot_, metaplot

Other bivariate plots: boxplot, metaplot

Other bivariate plots: boxplot, metaplot