Plot bootstrap uncertainty for a toroidal ridge
Source:R/directional-uncertainty.R
autoplot.bootstrap_toroidal_ridge.RdPlot bootstrap uncertainty for a toroidal ridge
Arguments
- object
Object returned by
bootstrap_toroidal_ridge().- ...
Reserved for future extensions.
- quantity
Either
"rho"or"ridge".- base_size
Base font size.
- ribbon_fill
Ribbon fill colour.
- line_colour
Line colour.
See also
Other directional uncertainty helpers:
autoplot.bootstrap_stat_orbit(),
bootstrap_stat_orbit(),
bootstrap_toroidal_ridge(),
marginal_support_data(),
plot_marginal_support(),
sensitivity_bandwidth_grid(),
simulate_independence_lineup()
Examples
dat <- simulate_toroidal(n = 60, scenario = "diagonal", seed = 1)
boot <- bootstrap_toroidal_ridge(dat$theta, dat$phi, n_boot = 5, n_theta = 12, n_phi = 12, seed = 1)
ggplot2::autoplot(boot)