View source: R/plot_stan_hamstr.R
plot.hamstr_fit | R Documentation |
plot method for class "hamstr_fit".
## S3 method for class 'hamstr_fit'
plot(
x,
type = c("default", "age_models", "acc_rates", "hier_acc_rates", "acc_mean_prior_post",
"mem_prior_post", "L_prior_post", "D_prior_post", "PDF_14C"),
summarise = TRUE,
...
)
x |
a hamstr_fit object |
type |
one of "default", "age_models","acc_rates", "hier_acc_rates", "acc_mean_prior_post", "mem_prior_post", "L_prior_post", "D_prior_post", "PDF_14C" |
summarise |
logical TRUE or FALSE. Plot the realisations as a summarised "ribbon" showing 50% and 95% intervals (faster), or as a spaghetti plot showing individual realisations. Defaults to TRUE (ribbon). |
... |
additional arguments to hamstr plotting methods |
a ggplot object
## Not run:
fit <- hamstr(
depth = MSB2K$depth,
obs_age = MSB2K$age,
obs_err = MSB2K$error)
plot(fit)
plot(fit, type = "acc_rates", tau = 5, kern = "U")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.