Skip to contents

Plot a statistical orbit

Usage

plot_stat_orbit(theta, x, n_theta = 181, kappa = 20, base_size = 12)

Arguments

theta

Angles in radians.

x

Real-valued response.

n_theta

Number of angular grid points.

kappa

Circular concentration for local weighting.

base_size

Base font size.

Value

A ggplot object.

See also

Examples

dat <- simulate_cylindrical(n = 80, seed = 1)
plot_stat_orbit(dat$theta, dat$x, n_theta = 24)