plot.fitted.bsad {bsamGP}R Documentation

Plot a fitted.bsad object

Description

Plots the predictive density for Bayesian density estimation model using logistic Gaussian process

Usage

## S3 method for class 'fitted.bsad'
plot(x, ggplot2, legend.position, nbins, ...)

Arguments

x

a fitted.bsad object

ggplot2

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

legend.position

the position of legends (“none”, “left”, “right”, “bottom”, “top”). It is used when ggplot2 = TRUE.

nbins

Number of bins used. Default is 30.

...

other options to pass to the plotting functions

Value

Returns a plot.

See Also

bsad, fitted.bsad

Examples

## See example for bsad

[Package bsamGP version 1.2.3 Index]