plot_priors: Plot priors

Usage Arguments

View source: R/plot.r

Usage

1
2
3
4
5
6
7
plot_priors(
  ssm,
  theta_names = NULL,
  quantile_limits = c(0.01, 0.99),
  x_limits = NULL,
  plot = TRUE
)

Arguments

ssm

a ssm object, returned by new_ssm.

theta_names

character, specify which theta priors to plot. By default (=NULL) all theta priors are plotted.

quantile_limits

numeric, vector of length 2 specifying the limits of the priors in terms of quantile. Default to the 1

\item

x_limitsnumeric, vector of length 2 specifying the limits of the priors in terms of theta. Default to NULL.

\item

plotlogical, if FALSE a dataframe of prior values will be returned insread iof a plot

either a ggplot or a data.frame Plot prior distribution as specified in ssm object.


StateSpaceModels/ssminr documentation built on Feb. 7, 2020, 8:20 p.m.