当前位置: 首页>>代码示例 >>用法及示例精选 >>正文


R plot-methods stats4 包中函数绘图的方法


R语言 plot-methods 位于 stats4 包(package)。

说明

绘制 "mle" 对象的轮廓可能性。

用法

## S4 method for signature 'profile.mle,missing'
plot(x, levels, conf = c(99, 95, 90, 80, 50)/100, nseg = 50,
     absVal = TRUE, ...)

参数

x

"profile.mle" 的对象

levels

级别,以 t 统计量的绝对值为尺度,在该级别上插值间隔。通常使用 conf 而不是显式给出 levels

conf

参数的基于配置文件的置信区间的置信水平的数值向量。

nseg

一个整数值,给出轮廓 t 曲线的样条插值中使用的段数。

absVal

一个逻辑值,指示绘图是否应采用轮廓 t 的绝对值的比例。默认为 TRUE

...

plot 函数的其他参数可以在此处传递。

方法

signature(x = "ANY", y = "ANY")

通用函数:参见plot

signature(x = "profile.mle", y = "missing")

绘制 x 的似然曲线。

相关用法


注:本文由纯净天空筛选整理自R-devel大神的英文原创作品 Methods for Function plot in Package stats4。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。