plot.profile.nls(stats)
plot.profile.nls()所属R语言包:stats
Plot a profile.nls Object
绘制profile.nls对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Displays a series of plots of the profile t function and interpolated confidence intervals for the parameters in a nonlinear regression model that has been fit with nls and profiled with profile.nls.
显示一系列轮廓t的函数图和插值已适合用nls和profile.nls异形在非线性回归模型参数的置信区间。
用法----------Usage----------
## S3 method for class 'profile.nls'
plot(x, levels, conf = c(99, 95, 90, 80, 50)/100,
absVal = TRUE, ylab = NULL, lty = 2, ...)
参数----------Arguments----------
参数:x
an object of class "profile.nls"
一个对象类"profile.nls"
参数:levels
levels, on the scale of the absolute value of a t statistic, at which to interpolate intervals. Usually conf is used instead of giving levels explicitly.
水平,上规模的绝对值在统计,在插值间隔。通常是conf使用,而不是给levels明确。
参数:conf
a numeric vector of confidence levels for profile-based confidence intervals on the parameters. Defaults to c(0.99, 0.95, 0.90, 0.80, 0.50).
数值向量的参数配置基于置信区间的置信水平。 c(0.99, 0.95, 0.90, 0.80, 0.50).默认
参数:absVal
a logical value indicating whether or not the plots should be on the scale of the absolute value of the profile t. Defaults to TRUE.
一个逻辑值,指明与否图应该是上规模的绝对值资料T。 TRUE默认。
参数:lty
the line type to be used for axis and dropped lines.
线路类型,可用于轴和下降线。
参数:ylab, ...
other arguments to the plot.default function can be passed here (but not xlab, xlim, ylim nor type).
plot.default函数的其他参数可以通过这里(但不xlab,xlim,ylim也type)。
Details
详情----------Details----------
The plots are produced in a set of hard-coded colours, but as these are coded by number their effect can be changed by setting the palette. Colour 1 is used for the axes and 4 for the profile itself. Colours 3 and 6 are used for the axis line at zero and the horizontal/vertical lines dropping to the axes.
图是一套硬编码的颜色,但因为这些都是由数字编码,其效果可以通过设置palette更改。用于轴和4配置文件本身的颜色1。用于在零轴线和水平/垂直线下降到轴的颜色3和6。
作者(S)----------Author(s)----------
Douglas M. Bates and Saikat DebRoy
参考文献----------References----------
Nonlinear Regression Analysis and Its Applications, Wiley (chapter 6)
参见----------See Also----------
nls, profile, profile.nls
nls,profile,profile.nls
举例----------Examples----------
require(graphics)
# obtain the fitted object[获得拟合对象]
fm1 <- nls(demand ~ SSasympOrig(Time, A, lrc), data = BOD)
# get the profile for the fitted model[得到的拟合模型的轮廓]
pr1 <- profile(fm1, alpha = 0.05)
opar <- par(mfrow = c(2,2), oma = c(1.1, 0, 1.1, 0), las = 1)
plot(pr1, conf = c(95, 90, 80, 50)/100)
plot(pr1, conf = c(95, 90, 80, 50)/100, absVal = FALSE)
mtext("Confidence intervals based on the profile sum of squares",
side = 3, outer = TRUE)
mtext("BOD data - confidence levels of 50%, 80%, 90% and 95%",
side = 1, outer = TRUE)
par(opar)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|