smooth.fv(spatstat)
smooth.fv()所属R语言包:spatstat
Apply Smoothing to Function Values
应用平滑函数值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Applies spline smoothing to the values in selected columns of a function value table.
适用样条平滑所选列的函数值表中的值。
用法----------Usage----------
smooth.fv(x, which = "*", ...)
参数----------Arguments----------
参数:x
Values to be smoothed. A function value table (object of class "fv", see fv.object).
值进行平滑处理。函数值表(对象类"fv",看到fv.object“)。
参数:which
Character vector identifying which columns of the table should be smoothed. Either a vector containing names of columns, or one of the wildcard strings "*" or "." explained below.
字符向量确定哪些表中的列应进行平滑处理。无论是一个向量,包含的列名,或一个通配符字符串"*"或"."说明如下。
参数:...
Extra arguments passed to smooth.spline to control the smoothing.
额外的参数传递给smooth.spline控制的平滑。
Details
详细信息----------Details----------
smooth.spline is applied to each of the selected columns in turn (using the function argument as the x coordinate and the selected column as the y coordinate). The original function values are then replaced by the corresponding smooth interpolated function values.
smooth.spline被施加到每一个圈(使用该函数的参数作为x坐标和选定的列作为y坐标)中的选定列。然后替换原来的函数值由相应的平滑插值函数值。
The argument which specifies which of the columns of function values in x will be smoothed. The default (indicated by the wildcard which="*") is to smooth all function values, i.e.\ all columns except the function argument. Alternatively which="." designates the subset of function values that are displayed in the default plot. Alternatively which can be a character vector containing the names of columns of x.
参数which指定在x函数值的列将被平滑。默认(用的通配符which="*")是平滑函数值,即\下的所有列除了功能参数表示。或者which="."指定默认的图中显示的这些函数值的子集。或者which可以是一个字符向量列x的名称。
值----------Value----------
Another function value table (object of class "fv") of the same format.
另一个函数值表(对象类"fv")相同的格式。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
with.fv, fv.object, smooth.spline
with.fv,fv.object,smooth.spline
实例----------Examples----------
data(cells)
G <- Gest(cells)
plot(G)
plot(smooth.fv(G, df=9), add=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|