hoods2dPlot(SpatialVx)
hoods2dPlot()所属R语言包:SpatialVx
Function to make a quilt plot and a matrix plot.
功能,以一床被子图和矩阵图。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function to make a quilt plot and a matrix plot for a matrix whose rows represent neighborhood lengths, and whose columns represent different threshold choices.
功能,使一床被子图和矩阵图矩阵的行代表街道的长度,而其列代表不同的阈值选择。
用法----------Usage----------
hoods2dPlot(x, args, ...)
参数----------Arguments----------
参数:x
l X q numeric matrix.
升X Q数字矩阵。
参数:args
list object with components: threshold (numeric vector giving the threshold values), qs (optional numeric vector giving the quantiles used if the thresholds represent quantiles rather than hard values), levels (numeric giving the neighborhood lengths (in grid squares) used, units (optional character giving the units for the thresholds)
列表对象的与组件:阈值(数字矢量发出的阈值),QS(可选数字矢量,所用的位数,如果阈值代表位数,而不是硬性值),水平(数字给附近的长度(方格),单位(可选字符为单位的阈值)
参数:...
optional arguments to image and image.plot functions. May not include xaxt, yaxt, lab, lab, col, or legend.only
image和image.plot函数的可选参数。不包括xaxt,yaxt,实验室,实验室,山坳里,或legend.only
Details
详细信息----------Details----------
Used by plot.hoods2d, but can be useful for other functions. Generally, however, this is an internal function that should not be called by the user. However, it might be called instead of plot.hoods2d in order to make a subset of the available plots.
使用的plot.hoods2d,但可能是有用的其他功能。然而,一般来说,这是不应该被称为由用户的内部函数。但是,它可能会被调用,而不是plot.hoods2d,以使可用曲线的一个子集。
值----------Value----------
No value is returned. A plot is created.
无返回值。有一个图是创建。
(作者)----------Author(s)----------
Eric Gilleland
参考文献----------References----------
<h3>See Also</h3> <code>matplot</code>, <code>image</code>, <code>image.plot</code>, <code>hoods2dPrep</code>, <code>plot.hoods2d</code>, <code>hoods2d</code>
实例----------Examples----------
x <- y <- matrix( 0, 50, 50)
x[ sample(1:50,10), sample(1:50,10)] <- rexp( 100, 0.25)
y[ sample(1:50,20), sample(1:50,20)] <- rexp( 400)
hold <- hoods2dPrep("y", "x", thresholds=c(0.1, 0.5), levels=c(1, 3, 20))
look <- hoods2d( hold, which.methods=c("multi.event", "fss"))
hoods2dPlot( look$multi.event$hk, args=hold, main="Hanssen Kuipers Score (Multi-Event Cont. Table)")
## Not run: [#不运行:]
data(geom001)
data(geom000)
data(ICPg240Locs)
hold <- hoods2dPrep( "geom001", "geom000", thresholds=c(0.01,50.01), levels=c(1, 3, 5, 17, 33, 65), loc=ICPg240Locs, units="in/100")
look <- hoods2d(hold, verbose=TRUE)
hoods2dPlot(look$pragmatic$bss, args=hold)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|