Learn R Programming

metaplot (version 0.2.1)

overlay.folded: Create an Overlay Plot for Folded

Description

Creates an overlay plot for class 'folded'. Continuous items are plotted vs last continuous item, conditioned (facetted) by up to two categorical items.

Usage

# S3 method for folded
overlay(x, ..., ncol = 4, nrow = 4, color = "black",
  points = TRUE, line = "solid", ylab = NULL, xlab = NULL,
  ylog = FALSE, xlog = FALSE)

Arguments

x

folded. See fold.

...

unquoted names of items to plot

ncol

number of panel columns if only one conditioning variable

nrow

number of panel rows if only one conditioning variable

color

color for points and lines, recycled as necessary

points

logical: whether to plot points, recycled as necessary

line

character: line types ('none','solid','dashed', etc. See geom_line). Recycled as necessary

ylab

y axis label to override default

xlab

x axis label to override default

ylog

whether to log-transform y axis data

xlog

whether to log-transform x axis data

Value

a list of ggplot, possibly length one

See Also

overlay.data.frame

Other multivariate plots: corsplom, metaplot, overlay.data.frame