draw.vlmc(VLMC)
draw.vlmc()所属R语言包:VLMC
Draw a "VLMC" Object (in ASCII) as tree.
画一个“VLMC的”树对象(ASCII)。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Draws a vlmc object, typically the result of vlmc(.), to the R console, using one line per node.
绘制一个vlmc对象,通常的结果vlmc(.),R控制台,采用每行一个节点。
用法----------Usage----------
draw(x, ...)
draw.vlmc(x, kind=3, flag = TRUE, show.hidden = 0,
cumulative = TRUE, delta = cumulative, debug = FALSE, ...)
参数----------Arguments----------
参数:x
typically the result of vlmc(..).
通常vlmc(..)的结果。
参数:kind
integer code for the “kind of drawing”, in {0,1,2,3}.
“之类的画”,在{0,1,2,3}的整数代码。
参数:flag
logical; ..
逻辑;
参数:show.hidden
integer code; if not 0, give some indications about hidden (final) nodes .....
整数代码,如果没有0,给一些迹象表明隐含节点(最终).....
参数:cumulative
logical indicating if the cumulative counts should be shown for nonterminal nodes; the "delta"s can only be computed from the cumulative counts, i.e., cumulative = FALSE should be used only by the knowing one.
逻辑表明,如果累计应非终结符节点只能计算出的累计计数,即cumulative = FALSE应该只用于通过了解一个Delta的。
参数:delta
logical indicating if "delta", i.e. delta(n, p(n)) should be computed and printed for each (non-root) node n with parent p(n). Note that this does not really make sense when cumulative = FALSE.
逻辑表明,如果三角,即delta“(n, p(n))应计算和打印每个用户(非root)节点n与母公司p(n)。请注意,这并不真正有意义时cumulative = FALSE。
参数:debug
logical; if TRUE, some extraneous progress information is printed to the R console.
逻辑,如果TRUE,一些多余的进度信息打印到R控制台。
参数:...
(potentially more arguments)
(可能多个参数)
Details
详细信息----------Details----------
.............
.............
.............
.............
Note that the counts internally are stored “non-cumulatively”, i.e. as difference counts which is useful for likelihood (ratio) computations. In the internal C code, the difference counts are originally computed by the comp_difference() function after tree generation. draw(*, cumulative = TRUE) internally calls the C function cumulate() for the cumulative sums.
需要注意的是在内部计数被存储的“非累积”,即,这是有用的似然(比率)计算差值计数。在内部的C代码,所不同的计数最初comp_difference()功能树生成后计算。 draw(*, cumulative = TRUE)内部调用C函数cumulate()的累计总和。
值----------Value----------
(作者)----------Author(s)----------
Martin Maechler
参见----------See Also----------
vlmc.
vlmc。
实例----------Examples----------
example(vlmc)
draw(vlmc.dt1c01)
draw(vlmc.dt1c01, flag = FALSE)
draw(vlmc.dt1c01, kind = 1)
draw(vlmc.dt1)
draw(vlmc.dt1, show = 3)
draw(vlmc.dt1, cumulative = FALSE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|