Skip to contents

Plot bootstrap uncertainty for a statistical orbit

Usage

# S3 method for class 'bootstrap_stat_orbit'
autoplot(
  object,
  ...,
  quantity = c("mu", "sigma"),
  base_size = 11,
  ribbon_fill = "#8fb4ff",
  line_colour = "#123f9b"
)

Arguments

object

Object returned by bootstrap_stat_orbit().

...

Reserved for future extensions.

quantity

Either "mu" or "sigma".

base_size

Base font size.

ribbon_fill

Ribbon fill colour.

line_colour

Line colour.

Value

A ggplot object.

Examples

dat <- simulate_cylindrical(n = 60, seed = 1)
boot <- bootstrap_stat_orbit(dat$theta, dat$x, n_boot = 5, n_theta = 12, seed = 1)
ggplot2::autoplot(boot)