Learn R Programming

barsurf (version 0.5.0)

10_supporting_methods: Supporting Methods

Description

Print and plot methods for barface, litmus and mlitmus objects.

Usage

# S3 method for barface
print(x, …)
# S3 method for litmus
print(x, …)
# S3 method for mlitmus
print(x, …)

# S3 method for barface plot(x, …) # S3 method for litmus plot(x, n=200, …) # S3 method for mlitmus plot(x, n=200, …)

Arguments

x

A barface, litmus or mlitmus object.

n

Integer, number of strips.

Ignored.

Details

The plot method calls colorspace::swatchplot, with a vector of colors.

Examples

Run this code
# NOT RUN {
plot (heat.barface () )
# }

Run the code above in your browser using DataLab