plot.isoreg(stats)
plot.isoreg()所属R语言包:stats
Plot Method for isoreg Objects
isoreg对象图法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The plot and lines method for R objects of class isoreg.
plot和linesR法的对象类isoreg。
用法----------Usage----------
## S3 method for class 'isoreg'
plot(x, plot.type = c("single", "row.wise", "col.wise"),
main = paste("Isotonic regression", deparse(x$call)),
main2 = "Cumulative Data and Convex Minorant",
xlab = "x0", ylab = "x$y",
par.fit = list(col = "red", cex = 1.5, pch = 13, lwd = 1.5),
mar = if (both) 0.1 + c(3.5, 2.5, 1, 1) else par("mar"),
mgp = if (both) c(1.6, 0.7, 0) else par("mgp"),
grid = length(x$x) < 12, ...)
## S3 method for class 'isoreg'
lines(x, col = "red", lwd = 1.5,
do.points = FALSE, cex = 1.5, pch = 13, ...)
参数----------Arguments----------
参数:x
an isoreg object.
isoreg对象。
参数:plot.type
character indicating which type of plot is desired. The first (default) only draws the data and the fit, where the others add a plot of the cumulative data and fit.
字符说明需要哪种类型的图。第一个(默认)仅绘制的数据和合适的,其他添加的累计数据的图,并适合。
参数:main
main title of plot, see title.
小区的主标题,看到title。
参数:main2
title for second (cumulative) plot.
第二个(累计)图的标题。
参数:xlab, ylab
x- and y- axis annotation.
x和y轴的注释。
参数:par.fit
a list of arguments (for points and lines) for drawing the fit.
list的参数(points和lines)制订合适。
参数:mar, mgp
graphical parameters, see par, mainly for the case of two plots.
图形参数,请参阅par,主要用于两个图的情况下。
参数:grid
logical indicating if grid lines should be drawn. If true, grid() is used for the first plot, where as vertical lines are drawn at "touching" points for the cumulative plot.
逻辑表示应绘制网格线。如果情况属实,grid()被用于第一个图,“触摸”的累积积点为垂直线的绘制。
参数:do.points
for lines(): logical indicating if the step points should be drawn as well (and as they are drawn in plot()).
lines():逻辑的步点,应制订以及(以及他们在plot()画)。
参数:col, lwd, cex, pch
graphical arguments for lines(), where cex and pch are only used when do.points is TRUE.
图形参数lines(),其中cex和pch仅用于当do.points是TRUE。
参数:...
further arguments passed to and from methods.
通过进一步的论据,以及从方法。
参见----------See Also----------
isoreg for computation of isoreg objects.
isoreg计算isoreg对象。
举例----------Examples----------
require(graphics)
utils::example(isoreg) # for the examples there[那里的例子]
plot(y3, main = "simple plot(.) + lines(<isoreg>)")
lines(ir3)
## 'same' plot as above, "proving" that only ranks of 'x' are important[#“相同”的图,上述“证明”只队伍的X是重要的]
plot(isoreg(2^(1:9), c(1,0,4,3,3,5,4,2,0)), plot.type = "row", log = "x")
plot(ir3, plot.type = "row", ylab = "y3")
plot(isoreg(y3 - 4), plot.t="r", ylab = "y3 - 4")
plot(ir4, plot.type = "ro", ylab = "y4", xlab = "x = 1:n")
## experiment a bit with these (C-c C-j):[#尝试与这些(的C-C C-J)位:]
plot(isoreg(sample(9), y3), plot.type="row")
plot(isoreg(sample(9), y3), plot.type="col.wise")
plot(ir <- isoreg(sample(10), sample(10, replace = TRUE)),
plot.type = "r")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|