KBivN(sparr)
KBivN()所属R语言包:sparr
Standard bivariate normal kernel
标准二元正常的内核
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Evaluates the standard bivariate normal (Gaussian) kernel function at specified values.
评估标准的二元正态(高斯)的内核函数在指定的值。
用法----------Usage----------
KBivN(X)
参数----------Arguments----------
参数:X
A numeric vector of length 2 or a data frame with 2 columns.
甲数值向量的长度为2个或2列的数据框。
Details
详细信息----------Details----------
If X is a vector of length 2, then the two components X[1] and X[2] are taken to be the x and y coordinates respectively. For multiple evaluations at differing coordinates, X must be a data frame with X[,1] and X[,2] as the corresponding pairs of x and y coordinates respectively.
如果X是一个向量的长度为2,然后这两个组件X[1]和X[2]采取的x坐标和y坐标分别。对于在不同的坐标的多个评价,X必须与X[,1]和X[,2]分别为x和y坐标的相应对的数据框。
值----------Value----------
A single numeric value if X is a vector, or nrow(X) values if X is a data frame, giving the result of the standard bivariate normal kernel at the specified coordinate(s).
一个单一的数值,如果X是一个向量,或nrow(X)值X是一个数据框,标准的二元正常的内核在指定的坐标(s)的结果。
(作者)----------Author(s)----------
T.M. Davies
实例----------Examples----------
KBivN(c(0.1,0.4))
x <- y <- seq(-4,4,length=50)
z <- KBivN(data.frame(cbind(sort(rep(x,50)),rep(y,50))))
persp(x,y,matrix(z,50,50,byrow=TRUE),main="bivariate Gaussian kernel",
phi=30,theta=-30)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|