respeciate object classes and generic functions.

When supplied a data.frame or similar, as.respeciate attempts to coerce it into a respeciate object.

When supplied a respeciate object or similar, print manages its appearance.

When supplied a respeciate object, plot provides a basic plot output. This uses base function barchart; also see note.

as.respeciate(x, ...)

# S3 method for default
as.respeciate(x, ...)

# S3 method for respeciate
print(x, n = 6, ...)

# S3 method for rsp_pls
print(x, n = NULL, ...)

# S3 method for respeciate
plot(x, ...)

# S3 method for rsp_pls
plot(x, ...)

# S3 method for respeciate
summary(object, ...)

Arguments

x

the respeciate object to be printed, plotted, etc.

...

any extra arguments, mostly ignored except by plot which passes them to rsp_plot_profile.

n

when plotting or printing a multi-profile object, the maximum number of profiles to report.

object

like x but for summary.

Note

respeciate objects revert to data.frames when not doing anything package-specific, so you can still use as previously with lattice or ggplot2, useful if you are pulling multiple profiles and you exceed the base barchart capacity...