Skip to contents

Plot bootstrap uncertainty for a toroidal ridge

Usage

# S3 method for class 'bootstrap_toroidal_ridge'
autoplot(
  object,
  ...,
  quantity = c("rho", "ridge"),
  base_size = 11,
  ribbon_fill = "#99d9d0",
  line_colour = "#0f766e"
)

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.

Value

A ggplot object.

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)