con2tr: Convert Lists to Data Frames for use by lattice

Description Usage Arguments Details Value References

View source: R/misc.R

Description

Convert lists to data frames for use by lattice.

Usage

1
con2tr(obj)

Arguments

obj

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

Details

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

Value

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

References

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


MASS documentation built on May 3, 2021, 5:08 p.m.

Related to con2tr in MASS...