⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scores.html

📁 应用程序 偏最小二乘法回归分析 pls matlab
💻 HTML
字号:
<html><head><title>R: Extract Scores and Loadings from PLSR and PCR Models</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for scores {pls}"><tr><td>scores {pls}</td><td align="right">R Documentation</td></tr></table>
<h2>Extract Scores and Loadings from PLSR and PCR Models</h2>


<h3>Description</h3>

<p>
These functions extract score and loading matrices from fitted
<code>mvr</code> models.
</p>


<h3>Usage</h3>

<pre>
scores(object, ...)
## S3 method for class 'prcomp':
scores(object, ...)
## Default S3 method:
scores(object, ...)
loading.weights(object)
Yscores(object)
Yloadings(object)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>object</code></td>
<td>
a fitted <code>mvr</code> model to extract from.</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
extra arguments, currently not used.</td></tr>
</table>

<h3>Details</h3>

<p>
All functions extract the indicated matrix from the fitted model, and
will work with any object having a suitably named component.
<code>scores</code> also has a method for <code>prcomp</code> objects (their
score component is called <code>x</code>).
<code>loadings</code> is in package <code>stats</code>, and is documented there.
</p>


<h3>Value</h3>

<p>
A matrix with scores or loadings.</p>

<h3>Author(s)</h3>

<p>
Ron Wehrens and Bj鴕n-Helge Mevik
</p>


<h3>See Also</h3>

<p>
<code><a href="mvr.html">mvr</a></code>, <code><a href="coef.mvr.html">coef.mvr</a></code>
</p>


<h3>Examples</h3>

<pre>
data(NIR)
plsmod &lt;- plsr(y ~ X, 6, data = NIR)
scores(plsmod)
loadings(plsmod)[,1:4]
</pre>



<hr><div align="center">[Package <em>pls</em> version 1.1-0 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -