split() divides the hyperSpec object into a list of
hyperSpec objects according to the groups given by f.
# S4 method for hyperSpec split(x, f, drop = TRUE)
| x | the |
|---|---|
| f | a factor giving the grouping (or a variable that can be converted
into a factor by |
| drop | if |
A list of hyperSpec objects.
The hyperSpec objects in the list may be bound together again by
bind("r", list_of_hyperSpec_objects).
C. Beleites
#>#> [1] 54# difference in cluster mean spectra plot(apply(region[[2]], 2, mean) - apply(region[[1]], 2, mean))