plotly_2D: A simple 2d plot function using plotly.

Description Usage Arguments Examples

View source: R/simulate_data.R

Description

A simple 2d plot function using plotly.

Usage

1
plotly_2D(proj_data, colors)

Arguments

proj_data

The data to be plotted.

colors

Color spectrum in real values. See example for usage.

Examples

1
2
3
4
sim_data <- swiss_roll(600)
library(plotly)
lle_data <- LLE2(sim_data$data, dim = 2, k = 8)
plotly_2D(lle_data, colors = sim_data$colors) #colors are optional

kcf-jackson/maniTools documentation built on April 20, 2020, 8:29 a.m.