spc.plot.time.plotly: Plot a Spectra object data with respect to time

Description Usage Arguments Examples

Description

Plot a Spectra object with respect to time

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
spc.plot.time.plotly(
  sp,
  column,
  plot.max = 10,
  showlegend = FALSE,
  hoverinfo = "name",
  title = sp@LongName
)

## S4 method for signature 'Spectra'
spc.plot.time.plotly(
  sp,
  column,
  plot.max = 10,
  showlegend = FALSE,
  hoverinfo = "name",
  title = sp@LongName
)

Arguments

sp

A Spectra object

column

Number or name , defoult value is 10 if a number or name has not been entered

plot.max

numeric value for a maximum number of data in plot

showlegend

logical, to display legend or not, default is FALSE

hoverinfo

a chracter, info about Spectra object to be used in hover box

title

a chracter string, title for plot

Examples

1
2
3
4
5
6
7
## Not run: 
sp = spc.example_spectra()
spc.plot.time.plotly(sp)
spc.plot.time.plotly(sp, plot.max = 3)
spc.plot.time.plotly(sp, c("anap_450","anap_550","anap_650"))

## End(Not run)

PranaGeo/Spectral documentation built on Feb. 21, 2020, 12:36 p.m.