plot.powdRbkg {powdR}R Documentation

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 class '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

# Load the minerals library
data(minerals)

## Not run: 
plot(minerals, interactive = TRUE)

## End(Not run)

[Package powdR version 1.3.0 Index]