| lift_plotly | R Documentation |
Draws the same RBF lift as lift_plot() as a rotatable plotly 3D chart.
This function is optional; the package does not require plotly to build or
check.
lift_plotly(x, y, gamma = 1, center = NULL)
x |
Numeric two-column matrix or data frame. |
y |
Two-class response. |
gamma |
Positive RBF scale. |
center |
Optional numeric length-two center for the RBF bump. If |
A plotly object.
Other visualization:
compare_methods(),
kernel_lift(),
lift_plot()
set.seed(21)
dat <- gen_circles(80, noise = 0.04)
if (requireNamespace("plotly", quietly = TRUE)) {
lift_plotly(dat$x, dat$y, gamma = 1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.