Learn R Programming

metaplot (version 0.2.7)

scatter.folded: Scatterplot for Folded

Description

Scatterplot for class 'folded'.

Usage

# S3 method for folded
scatter(x, yvar, xvar, groups = NULL, ..., ylog = log,
  xlog = log, yref = NULL, xref = NULL, ysmooth = FALSE,
  xsmooth = FALSE, cols = 3, auto.key = list(columns = cols),
  density = FALSE, iso = FALSE, main = FALSE, corr = FALSE,
  crit = 1.3, na.rm = TRUE, fit = conf, log = FALSE, conf = FALSE,
  loc = 0, msg = "metastats", panel = metapanel)

Arguments

x

folded

yvar

y values

xvar

x values

groups

optional grouping item

...

passed to region

ylog

reference line from y axis

xlog

reference line from x axis

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

default columns for auto.key

auto.key

passed to xyplot

density

plot point density instead of points

iso

use isometric axes with line of unity

main

logical: whether to construct a default title; or a substitute title or NULL

corr

append Pearson correlation coefficient to default title (only if main is TRUE)

crit

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

na.rm

whether to remove data points with one or more missing coordinates

fit

draw a linear fit of y ~ x

log

default for ylog and xlog

conf

logical, or width for a confidence region around a linear fit; passed to region; TRUE defaults to 95 percent confidence interval

loc

where to print statistics on a panel

msg

a function to print text on a panel: called with x values, y values, and ….

panel

default panel function

See Also

Other bivariate plots: boxplot.folded, metaplot.data.frame, metaplot.folded, scatter.data.frame, scatter_data_frame

Other scatter: scatter.data.frame, scatter_data_frame