R/caret_utils.R

Defines functions .getCaretCompatibleClasses .getAttrParameters

  
.getAttrParameters <- function()  
  c("response", "predictor")
  
.getCaretCompatibleClasses <- function()
  c("Speclib", "Nri", "Specfeat")
 
setClassUnion(".CaretHyperspectral", .getCaretCompatibleClasses())

setOldClass("preProcess")

setClass(".preProcessHyperspectral",
         representation(
           preProcess = "preProcess"
         ),
         prototype(
           preProcess = list()
         )
)

setMethod("show", ".preProcessHyperspectral", function(object) show(object@preProcess))

Try the hsdar package in your browser

Any scripts or data that you put into this service are public.

hsdar documentation built on March 18, 2022, 6:35 p.m.