Plot toroidal topography
Usage
plot_toroidal_topography(
theta,
phi,
conditional = FALSE,
...,
palette = topography_palette(),
base_size = 12,
legend_position = "right",
show_legend = TRUE
)Arguments
- theta
First angle in radians.
- phi
Second angle in radians.
- conditional
If
TRUE, rows are normalized to estimatef(phi | theta).- ...
Additional arguments passed to
estimate_toroidal_density().- palette
Colour palette for density.
- base_size
Base font size.
- legend_position
Legend position.
- show_legend
If
FALSE, hide legends.
See also
Other toroidal dependence plots:
plot_toroidal_flow(),
plot_toroidal_ridge(),
plot_toroidal_topography_3d()
Examples
dat <- simulate_toroidal(n = 80, seed = 1)
plot_toroidal_topography(dat$theta, dat$phi, n_theta = 24, n_phi = 24)