setkernel(spatialkernel)
setkernel()所属R语言包:spatialkernel
Select Smoothing Kernel Function
选择平滑核函数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Select a kernel function for kernel regression and kernel smoothing.
选择一个内核函数核回归和核平滑。
用法----------Usage----------
setkernel(kernel = NULL)
参数----------Arguments----------
参数:kernel
character string giving the smoothing kernel to be used. This must be one of gaussian, epanechnikov, quadratic, quartic, or NULL, and may be abbreviated to a unique prefix.
字符串给要使用的图像平滑用核。这必须是一个高斯,叶帕涅奇尼科夫,二次,四次,或NULL,可能是缩写为一个独特的前缀。
值----------Value----------
A character string of the kernel function selected, or the kernel function currently being used when kernel is NULL.
选定的核函数一个字符串,或目前正在使用的内核函数时kernel是NULL。
注意----------Note----------
The default kernel used is Gaussian. Unless users want to use a non-default kernel, there is no need to call setkernel. quadratic is an alias for epanechnikov.
使用默认的内核是高斯的。除非用户想使用一个非默认的内核,也没有必要调用“setkernel。二次叶帕涅奇尼科夫的别名。
setkernel setup kernel function for both kernel regression in the type-specific probability estimation and the kernel smoothing in the intensity function estimation.
setkernel安装内核函数在特定类型的概率估计的回归为内核和内核平滑的强度函数的估计。
参见----------See Also----------
cvloglk, phat and lambdahat
cvloglk,phat和lambdahat
实例----------Examples----------
## Not run: [#不运行:]
setkernel("e") ## Select "epanechnikov" kernel[#选择“叶帕涅奇尼科夫的”内核]
setkernel() ## show the kernel currrently being used[#显示正在被使用的内核]
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|