View source: R/continuum_clman.R
getcp | R Documentation |
Get fix points of continuum line within spectral range.
getcp(x, ispec, subset = NULL)
x |
Object of class |
ispec |
ID or index of spectrum to be analysed. |
subset |
Vector of |
Object of class list
containing two elements:
ptscon: Data frame with wavelength and reflectance of fix points
ispec: Index of analysed spectrum within passed Clman
-object.
Lukas Lehnert and Hanna Meyer
transformSpeclib
, deletecp
, addcp
, Clman
## 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") ## Fix points spec_cp <- getcp(spec_clman, 1, c(400, 800)) spec_cp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.