找回密码
 注册
查看: 396|回复: 0

R语言 spatialkernel包 spseg()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:48:35 | 显示全部楼层 |阅读模式
spseg(spatialkernel)
spseg()所属R语言包:spatialkernel

                                        Integrated Functions for Spatial Segregation Analysis
                                         集成功能空间分异分析

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Spatial segregation analysis to be performed by a single function and presentations by associated plot functions.
空间隔离进行分析,以一个单一的功能,并介绍相关的plot功能。


用法----------Usage----------


  spseg(pts, marks, h, opt = 2, ntest = 100, poly = NULL,
    delta = min(apply(apply(pts, 2, range), 2, diff))/100,
        proc = TRUE)
  plotcv(obj, ...)
  plotphat(obj, types = unique(obj$marks), sup = TRUE,
    col = risk.colors(10),
        breaks = seq(0, 1, length = length(col) + 1), ...)
  plotmc(obj, types = unique(obj$marks), quan = c(0.05, 0.95),
    sup = FALSE, col = risk.colors(10),
        breaks = seq(0, 1, length = length(col) + 1), ...)



参数----------Arguments----------

参数:pts
matrix containing the x,y-coordinates of the point locations at which type-specific probabilities estimated.
基质中含有x,y坐标点的位置,在特定类型的概率估计。


参数:marks
numeric/character vector of the types of the point in the data.
数字/字符的矢量数据中的点的类型。


参数:h
numeric vector of the kernel smoothing bandwidth at which to calculate the cross-validated log-likelihood function.
核平滑带宽的数字向量计算交叉验证的似然函数。


参数:opt
integer, 1 to select bandwidth; 2 to calculate type-specific  probabilities; and 3 to do the Monte Carlo segregation test.
整数,1选择带宽; 2来计算特定类型的概率; 3做蒙地卡罗隔离测试。


参数:ntest
integer with default 100, number of simulations for the  Monte Carlo test.
整数默认为100,蒙地卡罗模拟试验的数量。


参数:poly
matrix containing the x,y-coordinates of the polygonal boundary of the data.
基质中含有x,y-坐标的多边形边界的数据。


参数:delta
spacing distance of grid points at which to calculate the estimated type-specific probabilities for image plot.
在网格点的间隔距离来计算image图类型特定的估计概率。


参数:proc
logical with default TRUE to print the processing message.
默认情况下,逻辑与TRUE要打印的处理消息。


参数:obj
list of the returning value of spseg
列表的返回值spseg


参数:types
numeric/character types of the marks of data points to plot the estimated type-specific probabilities, default to plot all types.
数字/字符类型的数据点的标记,绘制特定类型的概率估计,默认情况下,绘制所有类型。


参数:sup
logical with default FALSE, if TRUE to superimpose data points  on the estimated type-specific probability surface.
默认情况下,逻辑与FALSE如果TRUE叠加对的估计特定类型的概率表面的数据点。


参数:quan
numeric, the pointwise significance levels to add contours to  image plot of the estimated type-specific probability surface, with default of c(0.05, 0.95).
数字逐点的显着性水平添加轮廓image图的的估计特定类型的概率表面,请使用默认的c(0.05, 0.95)。


参数:col
list of colors such as that generated by risk.colors.
如所产生的risk.colors的颜色列表。


参数:breaks
a set of breakpoints for the col: must give one more  breakpoint than colour.
一组断点col:必须给一个断点,比色。


参数:...
other arguments concerning plot and  points
其他参数有关plot和points


Details

详细信息----------Details----------

spseg implements a complete spatial segregation analysis  by selecting  bandwidth, calculating the type-specific probabilities, and then carrying out the Monte Carlo test of spatial segregation and pointwise significance. Some plot functions are also provided here so that users  can easily present the results.
spseg选择带宽,计算特定类型的概率,然后进行蒙地卡罗空间隔离和逐点测试的意义,实现了一个完整的空间分离分析。一些plot功能,还提供在这里,使用户可以很容易地目前的结果。

These functions are provided only for the convenience of users. Users can instead use individual functions to implement the analysis step by  step and plot the diagrams as they wish.
这些功能中所提供的用户仅是为了方便。用户可以使用各个功能的实现一步一步的分析,并绘制图表,如他们所愿。

Examples of how to use spseg and present results using plot functions are presented in  spatialkernel-package.
如何使用spseg和现在的结果plot功能是在spatialkernel-package。


值----------Value----------

spseg returns a list with components
spseg返回一个列表的组件


参数:hcv
bandwidth selected by the cross-validated log-likelihood function.
带宽选择的交叉验证的对数似然函数。


参数:gridx,gridy
x, y coordinate vectors at which the grid points  are generated at which to calculate the type-specific probabilities  and pointwise segregation test p-value.
x, y坐标向量在生成网格点计算特定类型的概率和逐点隔离测试p值。


参数:p
estimated type-specific probabilities at grid points generated by vectors gridx, gridy.
估计可能性特定类型的格点所产生的向量gridx, gridy。


参数:pvalue
p-value of the Monte Carlo spatial segregation test.
p值的Monte Carlo空间隔离测试。


参数:stpvalue
pointwise p-value of the Monte Carlo spatial  segregation test.
逐点p值的Monte Carlo空间隔离测试。


参数:...
copy of pts, marks, h, opt.
副本的pts, marks, h, opt。


注意----------Note----------

Setting h to a unique value may force spseg to skip the selecting bandwidth step, go straight to calculate the type-specific  probabilities and then test the spatial segregation with this fixed value of bandwidth.
设置h独特的价值,可能会迫使spseg跳过选择的带宽步骤,直接进入计算特定类型的概率,然后测试这个固定值带宽的空间隔离。


参见----------See Also----------

cvloglk, phat, mcseg.test,
cvloglk,phat,mcseg.test,

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 06:17 , Processed in 0.023877 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表