Learn R Programming

bsamGP (version 1.1.2)

plot.fitted.bsamdpm: Plot a fitted.bsamdpm object

Description

Plots the data and the fit for Bayesian spectral analysis models with Dirichlet process mixture error.

Usage

# S3 method for fitted.bsamdpm
plot(x, ask, ggplot2, …)

Arguments

x

a fitted.bsamdpm object

ask

see. par

ggplot2

a logical variable. If TRUE the ggplot2 package is used.

other options to pass to the plotting functions

Value

Returns a plot.

See Also

bsaqdpm, bsardpm, fitted.bsamdpm

Examples

Run this code
# NOT RUN {
## See examples for bsaqdpm and bsardpm
# }

Run the code above in your browser using DataLab