powered by
Coerce a SAM or Smooth object to clipper. A function useful to call highlight_substance when clipping is not necessary.
SAM
Smooth
highlight_substance
as.clipper(object, slice = 1)
The SAM or Smooth object to be coerced.
The slice to keep (a clipper is essentially a matrix).
and S3 clipper
# NOT RUN { x <- tile_read(base::system.file("extdata/tile.bsp", package = "uFTIR")) x <- tile_base_corr(x) x <- wavealign(x, primpke) x <- tile_sam(x) x <- as.clipper(x) # }
Run the code above in your browser using DataLab