Skip to contents

Displays a circular-linear conditional density on a cylinder. The function is experimental and is intended as a geometric companion to plot_circular_topography(), not as a replacement for the 2D display.

Usage

plot_circular_topography_3d(theta, x, radius = 1, conditional = TRUE, ...)

Arguments

theta

Angles in radians.

x

Real-valued response.

radius

Radius of the cylinder.

conditional

If TRUE, rows are normalized to estimate f(x | theta).

...

Additional arguments passed to circular_topography_data().

Value

A plotly htmlwidget.

See also

Other cylindrical dependence plots: plot_circular_topography(), plot_phase_loom(), plot_stat_orbit()

Examples

if (FALSE) { # requireNamespace("plotly", quietly = TRUE)
dat <- simulate_cylindrical(n = 120, seed = 1)
plot_circular_topography_3d(dat$theta, dat$x, n_theta = 32, n_x = 40)
}