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

📄 msc.html

📁 应用程序 偏最小二乘法回归分析 pls matlab
💻 HTML
字号:
<html><head><title>R: Multiplicative Scatter Correction</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 msc {pls}"><tr><td>msc {pls}</td><td align="right">R Documentation</td></tr></table>
<h2>Multiplicative Scatter Correction</h2>


<h3>Description</h3>

<p>
Performs multiplicative scatter/signal correction on a data matrix.
</p>


<h3>Usage</h3>

<pre>
msc(X, reference = NULL)
## S3 method for class 'msc':
predict(object, newdata, ...)
## S3 method for class 'msc':
makepredictcall(var, call)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>X, newdata</code></td>
<td>
numeric matrices.  The data to scatter correct.</td></tr>
<tr valign="top"><td><code>reference</code></td>
<td>
numeric vector.  Spectre to use as reference.  If
<code>NULL</code>, the column means of <code>X</code> are used.</td></tr>
<tr valign="top"><td><code>object</code></td>
<td>
an object inheriting from class <code>"msc"</code>, normally
the result of a call to <code>msc</code> with a single matrix argument.</td></tr>
<tr valign="top"><td><code>var</code></td>
<td>
A variable.</td></tr>
<tr valign="top"><td><code>call</code></td>
<td>
The term in the formula, as a call.</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
other arguments.  Currently ignored.</td></tr>
</table>

<h3>Details</h3>

<p>
<code>makepredictcall.msc</code> is an internal utility function; it is noe
meant for interactive use.  See <code><a href="../../stats/html/makepredictcall.html">makepredictcall</a></code> for details.
</p>


<h3>Value</h3>

<p>
Both <code>msc</code> and <code>predict.msc</code> return a multiplicative scatter
corrected matrix, with attribute <code>"reference"</code> the vector used as
reference spectre. The matrix is given class <code>c("msc",
    "matrix")</code>.  For <code>predict.msc</code>, the <code>"reference"</code>
attribute of <code>object</code> is used as reference spectre.</p>

<h3>Author(s)</h3>

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


<h3>References</h3>

<p>
Martens, H., N鎠, T. (1989) <EM>Multivariate calibration.</EM>
Chichester: Wiley.
</p>


<h3>See Also</h3>

<p>
<code><a href="mvr.html">mvr</a></code>, <code><a href="mvr.html">pcr</a></code>, <code><a href="mvr.html">plsr</a></code>,
<code><a href="stdize.html">stdize</a></code>
</p>


<h3>Examples</h3>

<pre>
data(NIR)
## Direct correction:
Ztrain &lt;- msc(NIR$X[NIR$train,])
Ztest &lt;- predict(Ztrain, NIR$X[!NIR$train,])

## Used in formula:
mod &lt;- plsr(y ~ msc(X), ncomp = 6, data = NIR[NIR$train,])
pred &lt;- predict(mod, newdata = NIR[!NIR$train,]) # Automatically scatter correction
</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 + -