Learn R Programming

metaplot (version 0.2.7)

metapanel: Panel Function for Metaplot Scatterplot

Description

Panel function for metaplot::scatterplot.data.frame.

Usage

metapanel(x, y, groups = NULL, xref = NULL, yref = NULL,
  ysmooth = FALSE, xsmooth = FALSE, density = FALSE, iso = FALSE,
  fit = conf, conf = FALSE, loc = 0, msg = "metastats", ...)

Arguments

x

x values

y

y values

groups

optional grouping item

xref

reference line from x axis

yref

reference line from y axis

ysmooth

supply loess smooth of y on x

xsmooth

supply loess smmoth of x on y

density

plot point density instead of points

iso

use isometric axes with line of unity

fit

draw a linear fit of y ~ x

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 ….

...

passed to panel.superpose, panel.smoothScatter, panel.xyplot, panel.polygon, region, panel.text

See Also

metastats

scatter.data.frame

Other panel functions: l.p, my.diag.panel, u.p