Learn R Programming

metaplot (version 0.3.2)

metapanel: Panel Function for Metaplot Scatterplot

Description

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

Usage

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

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

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; suppressed for grouped plots

iso

use isometric axes with line of unity

global

if TRUE, xsmooth, ysmooth, fit, and conf are applied to all data rather than groupwise

msg

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

type

overridden by metapanel

...

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

See Also

metastats

scatter.data.frame

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

Other scatter: scatter.data.frame, scatter_data_frame, scatter