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

📄 plot.lda.html

📁 本程序是基于linux系统下c++代码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Plot Method for Class 'lda'</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 plot.lda {MASS}"><tr><td>plot.lda {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Plot Method for Class 'lda'</h2>


<h3>Description</h3>

<p>
Plots a set of data on one, two or more linear discriminants.
</p>


<h3>Usage</h3>

<pre>
## S3 method for class 'lda':
plot(x, panel = panel.lda, ..., cex = 0.7, dimen,
     abbrev = FALSE, xlab = "LD1", ylab = "LD2")
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
An object of class <code>"lda"</code>.
</td></tr>
<tr valign="top"><td><code>panel</code></td>
<td>
the panel function used to plot the data.
</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
additional arguments to <code>pairs</code>, <code>ldahist</code> or <code>eqscplot</code>.
</td></tr>
<tr valign="top"><td><code>cex</code></td>
<td>
graphics parameter <code>cex</code> for labels on plots.
</td></tr>
<tr valign="top"><td><code>dimen</code></td>
<td>
The number of linear discriminants to be used for the plot; if this
exceeds the number determined by <code>x</code> the smaller value is used.
</td></tr>
<tr valign="top"><td><code>abbrev</code></td>
<td>
whether the group labels are abbreviated on the plots. If <code>abbrev &gt; 0</code>
this gives <code>minlength</code> in the call to <code>abbreviate</code>.
</td></tr>
<tr valign="top"><td><code>xlab</code></td>
<td>
label for the x axis
</td></tr>
<tr valign="top"><td><code>ylab</code></td>
<td>
label for the y axis
</td></tr>
</table>

<h3>Details</h3>

<p>
This function is a method for the generic function
<code>plot()</code> for class <code>"lda"</code>.
It can be invoked by calling <code>plot(x)</code> for an
object <code>x</code> of the appropriate class, or directly by
calling <code>plot.lda(x)</code> regardless of the
class of the object.
</p>
<p>
The behaviour is determined by the value of <code>dimen</code>. For
<code>dimen &gt; 2</code>, a <code>pairs</code> plot is used. For <code>dimen = 2</code>, an
equiscaled scatter plot is drawn. For <code>dimen = 1</code>, a set of
histograms or density plots are drawn.  Use argument <code>type</code> to
match <code>"histogram"</code> or <code>"density"</code> or <code>"both"</code>.
</p>


<h3>References</h3>

<p>
Venables, W. N. and Ripley, B. D. (2002)
<EM>Modern Applied Statistics with S.</EM> Fourth edition.  Springer.
</p>


<h3>See Also</h3>

<p>
<code><a href="pairs.lda.html">pairs.lda</a></code>, <code><a href="ldahist.html">ldahist</a></code>, <code><a href="lda.html">lda</a></code>, <code><a href="predict.lda.html">predict.lda</a></code>
</p>



<hr><div align="center">[Package <em>MASS</em> version 7.2-44 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

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