View source: R/reconstructSp.R
reconstructSp | R Documentation |
Reconstruct spectra from loadings and scores (i.e. from spectroscopic components and their amplitudes).
reconstructSp(loadings, scores, sp = NULL)
loadings |
Components' spectra (loadings) as either a matrix or a
|
scores |
Components' amplitudes (scores) as either a matrix or a
|
sp |
|
Reconstruction of the original spectroscopic data matrix, based on
scores
and loadings
as either a matrix or
hyperSpec
object.
reconstructed <- scores %*% loadings
Vilmantas Gegzna
reconstruct
in ChemometricsWithR,
project
in ChemometricsWithR,
reconstruct
in Rssa
Other component analysis / factorisation related functions in spHelper:
getScores()
,
infoDim()
,
plot_spDiff()
,
qplot_infoDim()
,
qplot_kAmp()
,
qplot_kSp()
,
qplot_spc()
,
sortLoadings()
,
unipeak()
,
whichOutlier()
reconstructSp(Loadings2, Scores2)
reconstructSp(Loadings2, Scores2, Spectra2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.