Learn R Programming

fido (version 1.0.4)

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

Description

Plot Summaries of Posterior Distribution of pibblefit Parameters

Usage

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

Value

ggplot object

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.

Examples

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

Run the code above in your browser using DataLab