plot.intensity: Plot scatterplot matrix of intensity vectors

Description Usage Arguments Examples

View source: R/plot.intensity.R

Description

This is a custom plot function that operates on objects of class intensity (which is the output generated from the intensity function). This plot function generates a scatterplot matrix of intensity vectors using either ggplot or base graphics. The user must input either a single intensity vector x or a matrix x where each row is one intensity vector. The function generates a scatterplot matrix showing each of the intensity barplots. The user may choose to print or assign the object, or both. Since the function generates a scatterplot of intensity plots, there are certain limits in the output. If the user attempts to generate the plot for a time-series matrix with more than 36 intensity vectors, the user will be prompted to continue. The prompts can be removed in the arguments of the function.

Usage

1
2
## S3 method for class 'intensity'
plot(x, ggplot = TRUE, print = TRUE, user.prompt = TRUE, ...)

Arguments

x

A vector or matrix of intensity values (if a matrix, each intensity vector should be one row of the matrix)

ggplot

Logical; if TRUE the scatterplot is a ggplot object; if FALSE it is a base plot object

print

Logical; if TRUE the scatterplot is printed

user.prompt

Logical; if TRUE the user will be prompted for choices when the number if intensity vectors is large

...

unused

Examples

1
2
3

ts.extend documentation built on Nov. 15, 2020, 1:06 a.m.