plotSmeModel(sme)
plotSmeModel()所属R语言包:sme
Visualisation of a fitted smoothing-splines mixed-effects model
平滑样条曲线的拟合混合效应模型的可视化
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The observations used to fit the given smoothing-splines mixed-effects model are shown as a scatter plot and the fitted mean curve is overlaid. Optionally, the fitted individual curves are also shown. Also, the 95% confidence band for the fitted mean curve can optionally be displayed.
所用的观测,以适应给定的平滑样条混合效应模型显示为散点图和拟合的平均曲线叠加。可选地,单个曲线拟合也显示。此外,95%置信带为拟合的平均值曲线可以任选地显示。
用法----------Usage----------
plotSmeModel(x,xlab="Time",ylab="Y",showIndividuals=T,showConfidenceBands=F,
col.meanCurve="red",...)
参数----------Arguments----------
参数:x
an object inheriting from class sme, representing a fitted smoothing-splines mixed-effects model
对象继承类sme,代表一个装有平滑样条混合效应模型
参数:xlab
the label for the x-axis, defaulting to "Time"
x轴的标签,默认为"Time"
参数:ylab
the label for the y-axis, defaulting to "Y"
y轴的标签,默认为"Y"
参数:showIndividuals
if TRUE then each of the fitted subject specific curves will be displayed in the plot as dashed lines, otherwise only the mean curve will be shown
如果TRUE然后每一个特定主题的拟合曲线将显示在图中虚线,否则的平均曲线显示
参数:showConfidenceBands
if TRUE, then the 95% confidence band for the fitted mean curve will be shown
如果TRUE,然后在95%的置信带的拟合平均曲线将显示
参数:col.meanCurve
the color to be used for the fitted mean curve and, if showConfidenceBands is TRUE, the confidence band as well
的要使用的颜色为拟合的平均值曲线,以及如果showConfidenceBands是TRUE,置信带
参数:...
additional arguments passed through to plot when producing the scatter plot of observations
额外的参数传递给plot时产生的散点图观察
值----------Value----------
A plot visualising the fitted smoothing-splines mixed-effects model as described above.
一个可视化拟合平滑样条混合效应模型所描述的图。
(作者)----------Author(s)----------
Maurice Berk <a href="mailto:maurice.berk01@imperial.ac.uk">maurice.berk01@imperial.ac.uk</a>
参考文献----------References----------
参见----------See Also----------
plot.sme, plotSmeRaw, plotSmeDiagnostic
plot.sme,plotSmeRaw,plotSmeDiagnostic
实例----------Examples----------
data(MTB)
fit <- sme(MTB[MTB$variable==6031,c("y","tme","ind")])
plotSmeModel(fit,showIndividuals=FALSE)
plotSmeModel(fit,showConfidenceBands=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|