hist.scott.html

来自「本程序是基于linux系统下c++代码」· HTML 代码 · 共 73 行

HTML
73
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Plot a Histogram with Automatic Bin Width Selection</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 hist.scott {MASS}"><tr><td>hist.scott {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Plot a Histogram with Automatic Bin Width Selection</h2>


<h3>Description</h3>

<p>
Plot a histogram with automatic bin width selection, using the Scott
or Freedman&ndash;Diaconis formulae.
</p>


<h3>Usage</h3>

<pre>
hist.scott(x, prob = TRUE, xlab = deparse(substitute(x)), ...)
hist.FD(x, prob = TRUE, xlab = deparse(substitute(x)), ...)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
A data vector</td></tr>
<tr valign="top"><td><code>prob</code></td>
<td>
Should the plot have unit area, so be a density estimate?</td></tr>
<tr valign="top"><td><code>xlab, ...</code></td>
<td>
Further arguments to <code>hist</code>.</td></tr>
</table>

<h3>Value</h3>

<p>
For the <code>nclass.*</code> functions, the suggested number of classes.</p>

<h3>Side Effects</h3>

<p>
Plot a histogram.
</p>


<h3>References</h3>

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


<h3>See Also</h3>

<p>
<code><a href="../../xps/html/hist-methods.html">hist</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 + =
减小字号Ctrl + -
显示快捷键?