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

R语言 wavethresh包 draw.default()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 17:18:08 | 显示全部楼层 |阅读模式
draw.default(wavethresh)
draw.default()所属R语言包:wavethresh

                                        Draw picture of a wavelet or scaling function.
                                         绘制图像的小波或缩放功能。

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

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

This function can produce pictures of one- or two-dimensional wavelets or scaling functions at various levels of resolution.
此功能可以在不同级别的分辨率产生的一维或二维小波或缩放功能的图片。


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


## Default S3 method:[默认方法]
draw(filter.number = 10, family = "DaubLeAsymm", resolution = 8192,
    verbose = FALSE, plot.it = TRUE, main = "Wavelet Picture", sub = zwd$
    filter$name, xlab = "x", ylab = "psi", dimension = 1, twodplot
     = persp, enhance = TRUE, efactor = 0.05, scaling.function = FALSE,
    ...)



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

参数:filter.number
This selects the index number of the wavelet or scaling function you want to draw (from within the wavelet family).
选择你想画(从小波族)的小波或缩放功能的索引号。


参数:family
specifies the family of wavelets that you want to draw. The options are "DaubExPhase" and "DaubLeAsymm".
指定要绘制的小波家庭。的选项“DaubExPhase”和“DaubLeAsymm”。


参数:resolution
specifies the resolution that the wavelet or scaling function is computed to. It does not necessarily mean that you see all of these points as if the enhance option is TRUE then some function points are omitted.
指定的分辨率,小波尺度函数计算。这并不一定意味着你可以看到所有的这些点的增强选项,如果是真,那么,省略了一些功能点。


参数:verbose
Controls the printing of "informative" messages whilst the computations progress. Such messages are generally annoying so it is turned off by default.
控制打印的“信息”的消息,而计算的进展。这样的消息一般都是讨厌的,所以它在默认情况下是关闭的。


参数:plot.it
If TRUE then this function attempts to plot the function (i.e. draw it on a graphics device which should be active). If FALSE then this function returns the coordinates of the object that would have been plotted.
如果是TRUE,那么这个函数试图绘制功能(即把它绘制的图形设备应积极)。如果为FALSE,则该函数返回的对象将被绘制的坐标。


参数:main
a main title for the plot
主标题为图


参数:sub
a subtitle for the plot.
一个字幕的图。


参数:xlab
a label string for the x-axis
的x-轴的标签的字符串


参数:ylab
a label string for the y-axis
y-轴的标签的字符串


参数:dimension
whether to make a picture of the one-dimensional wavelet or the two-dimensional wavelet.
是否作出的一维小波或二维小波一幅图片。


参数:twodplot
which function to use to produce the two-dimensional plot if dimension=2. The function you supply should accept data just like the contour or persp functions supplied with S-Plus.
要使用哪个函数,以产生二维图,如果尺寸= 2。您提供的功能应该接受一样的的轮廓或persp的功能与S-PLUS提供的数据。


参数:enhance
If this argument is TRUE then the plot is enhanced in the following way. Many of Daubechies' compactly supported wavelets are near to zero on a reasonable proportion of their support. So if such a wavelet is plotted quite a lot of it looks to be near zero and the interesting detail seems quite small. This function chooses a nice range on which to plot the central parts of the function and the function is plotted on this range.
如果该参数为TRUE,那么该图以下列方式增强。许多Daubechies小波的紧支撑小波支持一个合理的比例接近于零。因此,如果有这样的小波绘制了相当多的它看起来是接近零,有趣的细节似乎相当小。此函数绘制的中央部分的功能和作用被绘制在该范围内选择一个不错的范围。


参数:efactor
Variable which controls the range of plotting associated with the enhance option above. Any observations smaller than efactor times the range of the absolute function values are deemed to be too small. Then the largest range of “non-small” values is selected to be plotted.
控制变量,该变量与增强上面的选项相关联的绘制的范围。任何意见小于efactor倍的绝对值的函数值的范围内被认为是太小。然后选择要绘制的“小非”值最大范围的。


参数:scaling.function
If this argument is TRUE the scaling function is plotted otherwise the mother wavelet is plotted.
如果该参数为TRUE绘制,否则绘制母小波的缩放功能。


参数:...
other arguments you can supply to the plot routine embedded within this function.
其他参数,你可以提供嵌入在这个函数中的图常规。


Details

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

The algorithm underlying this function produces a picture of the wavelet or scaling function by first building a wavelet decomposition object of the correct size (i.e. correct resolution) and setting all entries equal to zero. Then one coefficient at a carefully selected resolution level is set to one and the decomposition is inverted to obtain a picture of the wavelet.
此功能相关的算法产生的图像的小波尺度函数的第一个建筑物wavelet decomposition对象的正确大小(即correct resolution)和设置的所有条目等于零。然后将一个系数在精心挑选的分辨率级别被设置为一个,并反转,得到一幅图片的小波分解。


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


----------RELEASE----------

Version 3.5.3 Copyright Guy Nason 1994
版本3.5.3版权盖利晨1994年


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

A plot is produced of the wavelet or scaling function if plot.it=TRUE.
有一个图是生产的的小波或缩放功能,如果plot.it=TRUE的。


(作者)----------Author(s)----------


G P Nason



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

filter.select, ScalingFunction,wd, wd.object, wr, wr.wd.
filter.select,ScalingFunction,wd,wd.object,wr,wr.wd。


实例----------Examples----------


#[]
# First make sure that your favourite graphics device is open[首先,确保你所喜欢的图形设备是开放的]
# otherwise S-Plus will complain.[否则,S-Plus将抱怨。]
#[]
# Let's draw a one-dimensional Daubechies least-asymmetric wavelet[让我们绘制的一维Daubechies小波最低对称小波]
# N=10[N = 10]
#[]
## Not run: draw.default(filter.number=10, family="DaubLeAsymm")[#运行:draw.default(filter.number = 10,家庭=“DaubLeAsymm”)]
#[]
# Wow. What a great picture![哇。这是一个伟大的图片!]
#[]
# Now how about a one-dimensional Daubechies extremal-phase scaling function[现在怎么样一个一维的Daubechies极值相缩放功能]
# with N=2[N = 2开始]
#[]
## Not run: draw.default(filter.number=2, family="DaubExPhase")[#运行:draw.default(filter.number = 2,家庭=“DaubExPhase”)]
#[]
# Excellent! Now how about a two-dimensional Daubechies least-asymmetric[好极了!现在,如何约一个二维的的Daubechies小波至少不对称]
# N=6 wavelet[N = 6小波]
#[]
# N.b. we'll also reduce the resolution down a bit. If we used the default[注意:我们也将降低分辨率了一点。如果我们使用了默认]
# resolution of 8192 this would be probably too much for most computers.[分辨率为8192这将可能太多了大多数的计算机。]
#[]
## Not run: draw.default(filter.number=6, family="DaubLeAsymm", dimension=2, res=256)[#不运行:draw.default(filter.number = 6,家庭=“DaubLeAsymm”,尺寸= 2,RES = 256)]
#[]
# What a pretty picture![这是一个漂亮的图片!]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 17:53 , Processed in 0.020355 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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