eempf_reorder {staRdom} | R Documentation |
Reorder PARAFAC components
Description
Reorder PARAFAC components
Usage
eempf_reorder(pfmodel, order, decreasing = FALSE)
Arguments
pfmodel |
model of class parafac |
order |
vector containing desired new order or "em" or "ex" to reorder according to emission or excitation wavelengths of the peaks |
decreasing |
logical, whether components are reordered according to peak wvalengths in a decreasing direction |
Value
parafac model
Examples
data(pf_models)
ggeem(pf4[[1]])
pf4r <- eempf_reorder(pf4[[1]], "ex")
ggeem(pf4r)
[Package staRdom version 1.1.28 Index]