plot.pibblefit: Plot Summaries of Posterior Distribution of pibblefit...

View source: R/pibble_plotting.R

plot.pibblefitR Documentation

Plot Summaries of Posterior Distribution of pibblefit Parameters

Description

Plot Summaries of Posterior Distribution of pibblefit Parameters

Usage

## S3 method for class 'pibblefit'
plot(x, ...)

Arguments

x

an object of class pibblefit

...

other arguments passed to plot.pibblefit (see details)

Details

Other arguments:

  • 'par' parameter to plot (options: Lambda, Eta, and Sigma) (default="Lambda")

  • 'focus.cov' vector of covariates to include in plot (plots all if NULL)

  • 'focus.coord' vector of coordinates to include in plot (plots all if NULL)

  • 'focus.sample' vector of samples to include in plot (plots all if NULL)

  • 'use_names' if TRUE, uses dimension names found in data as plot labels rather than using dimension integer indices.

Value

ggplot object

Examples

sim <- pibble_sim(N=10, D=4, Q=3)
fit <- pibble(sim$Y, sim$X)
plot(fit, par="Lambda")
plot(fit, par="Sigma")

fido documentation built on June 22, 2024, 9:36 a.m.