clman: * Clman class

Description Usage Arguments Value Author(s) See Also Examples

Description

Class to store and handle manual continuum lines

Usage

1
2
3
4
5
Clman(wavelength, cp, hull, spectra, outdatedhull = NULL, mask = NULL)

## S4 method for signature 'Clman'
plot(x, ispec, subset = NULL, numeratepoints = TRUE, 
    hull.style = NULL, points.style = list(), ...)

Arguments

wavelength

Vector with corresponding wavelength for each band.

cp

Data frame or matrix containing fix points. Fix points have numbers greater than 0, all other bands are 0.

hull

Data frame or matrix containing linear hull.

spectra

Data frame, matrix of raster object of class 'SpatialGridDataFrame' with spectral data.

outdatedhull

Data frame or matrix containing hull of step before for undo porposes.

mask

Data frame with masked parts in the spectra. See mask.

x

Object of class clman.

ispec

Name or index of spectrum to be plotted.

subset

Lower and upper spectral limits used for plot.

numeratepoints

Flag if points should be numerated in plot.

hull.style

List of arguments passed to lines to construct the continuum line.

points.style

List of arguments passed to points to construct the continuum points. May be NULL to suppress plotting of fix points.

...

Further arguments passed to plot.default.

Value

Object of class Clman.

Author(s)

Lukas Lehnert and Hanna Meyer

See Also

transformSpeclib, plot

Examples

1
2
3
4
5
6
7
8
9
## Model spectra using PROSAIL
parameter <- data.frame(N = rep.int(c(1, 1.5),2), LAI = c(1,1,3,3))
spec <- PROSAIL(parameterList=parameter)

## Transform spectra
spec_clman <- transformSpeclib(spec, method = "sh", out = "raw")

## Plot clman
plot(spec_clman, ispec = 1, subset = c(400, 1000))

hsdar documentation built on May 30, 2017, 6:23 a.m.