📄 kfn.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Compute K-fn of a Point Pattern</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 Kfn {spatial}"><tr><td>Kfn {spatial}</td><td align="right">R Documentation</td></tr></table>
<h2>Compute K-fn of a Point Pattern</h2>
<h3>Description</h3>
<p>
Actually computes L = sqrt(K/pi).
</p>
<h3>Usage</h3>
<pre>
Kfn(pp, fs, k=100)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>pp</code></td>
<td>
a list such as a pp object, including components <code>x</code> and <code>y</code>
</td></tr>
<tr valign="top"><td><code>fs</code></td>
<td>
full scale of the plot
</td></tr>
<tr valign="top"><td><code>k</code></td>
<td>
number of regularly spaced distances in (0, <code>fs</code>)
</td></tr>
</table>
<h3>Details</h3>
<p>
relies on the domain D having been set by <code>ppinit</code> or <code>ppregion</code>.
</p>
<h3>Value</h3>
<p>
A list with components
</p>
<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
vector of distances
</td></tr>
<tr valign="top"><td><code>y</code></td>
<td>
vector of L-fn values
</td></tr>
<tr valign="top"><td><code>k</code></td>
<td>
number of distances returned – may be less than <code>k</code> if <code>fs</code> is too large
</td></tr>
<tr valign="top"><td><code>dmin</code></td>
<td>
minimum distance between pair of points
</td></tr>
<tr valign="top"><td><code>lm</code></td>
<td>
maximum deviation from L(t) = t
</td></tr>
</table>
<h3>References</h3>
<p>
Ripley, B. D. (1981) <EM>Spatial Statistics.</EM> Wiley.
</p>
<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="ppinit.html">ppinit</a></code>, <code><a href="ppregion.html">ppregion</a></code>, <code><a href="Kaver.html">Kaver</a></code>, <code><a href="Kenvl.html">Kenvl</a></code>
</p>
<h3>Examples</h3>
<pre>
towns <- ppinit("towns.dat")
par(pty="s")
plot(Kfn(towns, 10), type="s", xlab="distance", ylab="L(t)")
</pre>
<hr><div align="center">[Package <em>spatial</em> version 7.2-44 <a href="00Index.html">Index]</a></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -