spc.plot.map.rbokeh: Display a Spectra object

Description Usage Arguments Examples

Description

Create a point map with rbokeh engine using Spectra rows

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
spc.plot.map.rbokeh(
  sp,
  glyph = 2,
  color = "#FF0000",
  legend = NULL,
  hover = "row",
  opacity = 1
)

## S4 method for signature 'Spectra'
spc.plot.map.rbokeh(
  sp,
  glyph = 2,
  color = "#FF0000",
  legend = NULL,
  hover = "row",
  opacity = 1
)

Arguments

sp

Spectra object

glyph

Value(s) or field name of the glyph to use point_types

color

Determine color of points

legend

not implemented yet

hover

String or vector of strings giving column names of Spectra object. This information will be displayed when hovering over the glyph

opacity

The opacity transparency of the glyph between 0 (transparent) and 1 (opaque)

Examples

1
2
3
4
5
6
## Not run: 
  sp=spc.example_spectra()
  spc.plot.map.rbokeh(sp, hover = "Snap")
  spc.plot.map.rbokeh(sp)

## End(Not run)

PranaGeo/geoSpectral documentation built on Feb. 21, 2020, 10:22 a.m.