Description Usage Arguments Examples
Create a point map with ploty engine using Spectra
rows
1 2 3 4 | spc.plot.map.plotly(sp, hover_field = "row", color = "#FF0000", opacity = 1)
## S4 method for signature 'Spectra'
spc.plot.map.plotly(sp, hover_field = "row", color = "#FF0000", opacity = 1)
|
sp |
A |
hover_field |
A character, column names of sp object to be used in hover box |
color |
Determine color of points |
opacity |
The opacity transparency of the glyph between 0 (transparent) and 1 (opaque) |
1 2 | sp <- spc.example_spectra()
spc.plot.map.plotly(sp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.