Projection of new spectra into a principal component space
新的光谱投影的主要组成部分空间
译者:生物统计家园网 机器人LoveR
描述----------Description----------
New spectra are projected into the principal component space of a user given spectral sample set in order to check if the new spectra belong to the same population. The prcomp function from the stats package is used.
新的光谱投射到空间的用户给定的光谱样本,以检查新的光谱属于同一人群的主要组成部分。 prcomp stats包使用的功能。
用法----------Usage----------
pc.space(base, new)
## S3 method for class 'pc.space':
plot(x,...)
参数----------Arguments----------
参数:base
a numerical spectral matrix containing the population samples.
一个数字谱矩阵包含的人群样本。
参数:new
a numerical matrix containing the new samples, which are checked being part of the population of base.
一个包含新样本的数值矩阵,其中的一部分的人口base检查。
参数:x
an object of class "pc.space".
对象类"pc.space"。
参数:...
additional arguments.
其他参数。
Details
详细信息----------Details----------
A principal component analysis is performed on base and the spectra from new are projected/predicted into this score space. The output (the same then using plot.pc.space) is plotted that the user can see if the spectra in new (in red) belong to the population of base.
主成分分析进行base和光谱new预计/预测到这个分数空间。输出(相同的,那么使用plot.pc.space)绘制,用户可以看到,如果在new(红色)属于人口的base的光谱。
plot.pc.space does the plotting of an object of class "pc.space".
plot.pc.space绘制的对象类"pc.space"。
值----------Value----------
pc.space returns a list with class "pc.space" containing the following components: <table summary="R valueblock"> <tr valign="top"><td>prco.base</td> <td> a matrix containing the score values of base.</td></tr> <tr valign="top"><td>prco.new</td> <td> a matrix containing the score values of new.</td></tr> </table>
pc.space返回一个列表类"pc.space"包含以下组件:<table summary="R valueblock"> <tr valign="top"> <TD> prco.base</ TD> < TD>矩阵中的得分值的base。</ TD> </ TR> <tr valign="top"> <TD>prco.new </ TD> <td>一个矩阵包含得分值的new。</ TD> </ TR> </ TABLE>