📄 naexcludemvr.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Adjust for Missing Values</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 naExcludeMvr {pls}"><tr><td>naExcludeMvr {pls}</td><td align="right">R Documentation</td></tr></table>
<h2>Adjust for Missing Values</h2>
<h3>Description</h3>
<p>
Use missing value information to adjust residuals and predictions.
This is the ‘mvr equivalent’ of the <code>naresid.exclude</code> and
<code>napredict.exclude</code> functions.
</p>
<h3>Usage</h3>
<pre>
naExcludeMvr(omit, x, ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>omit</code></td>
<td>
an object produced by an <code>na.action</code> function,
typically the <code>"na.action"</code> attribute of the result of
<code>na.omit</code> or <code>na.exclude</code>.</td></tr>
<tr valign="top"><td><code>x</code></td>
<td>
a three-dimensional array to be adjusted based upon the
missing value information in <code>omit</code>.</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
further arguments. Currently not used.</td></tr>
</table>
<h3>Details</h3>
<p>
This is a utility function used to allow <code>predict.mvr</code> and
<code>residuals.mvr</code> to compensate for the removal of <code>NA</code>s in
the fitting process.
</p>
<p>
It is called only when the <code>na.action</code> is <code>na.exclude</code>, and
pads <code>x</code> with <code>NA</code>s in the correct positions to have the
same number of rows as the original data frame.
</p>
<h3>Value</h3>
<p>
<code>x</code>, padded with <code>NA</code>s along the first dimension
(‘rows’).</p>
<h3>Author(s)</h3>
<p>
Bj鴕n-Helge Mevik and Ron Wehrens
</p>
<h3>See Also</h3>
<p>
<code><a href="predict.mvr.html">predict.mvr</a></code>, <code><a href="coef.mvr.html">residuals.mvr</a></code>,
<code><a href="../../stats/html/nafns.html">napredict</a></code>, <code><a href="../../stats/html/nafns.html">naresid</a></code>
</p>
<hr><div align="center">[Package <em>pls</em> version 2.0-1 <a href="00Index.html">Index]</a></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -