Learn R Programming

MASS (version 7.3-47)

con2tr:

Description

Convert lists to data frames for use by lattice.

Usage

con2tr(obj)

Arguments

obj
A list of components x, y and z as passed to contour.

Value

A data frame suitable for passing to lattice (formerly trellis) functions.

Details

con2tr repeats the x and y components suitably to match the vector z.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.