Learn R Programming

powdR (version 1.3.0)

plot.powdRbkg: Plotting a powdRbkg object

Description

plot.powdRbkg is designed to provide quick plots to inspect the fitted backgrounds obtained from bkg.

Usage

# S3 method for powdRbkg
plot(x, interactive, ...)

Arguments

x

a powdRbkg object

interactive

Logical. If TRUE then the output will be an interactive ggplotly object. If FALSE then the output will be a ggplot object.

...

other arguments

Details

The only mandatory argument is x, which must be a powdRbkg object. Plots can be made interactive using the logical interactive argument.

Examples

Run this code
# NOT RUN {
# Load the minerals library
data(minerals)

# }
# NOT RUN {
plot(minerals, interactive = TRUE)
# }

Run the code above in your browser using DataLab