View source: R/pibble_plotting.R
plot.pibblefit | R Documentation |
Plot Summaries of Posterior Distribution of pibblefit Parameters
## S3 method for class 'pibblefit'
plot(x, ...)
x |
an object of class pibblefit |
... |
other arguments passed to plot.pibblefit (see 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.
ggplot object
sim <- pibble_sim(N=10, D=4, Q=3)
fit <- pibble(sim$Y, sim$X)
plot(fit, par="Lambda")
plot(fit, par="Sigma")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.