plotSmeRaw(sme)
plotSmeRaw()所属R语言包:sme
Visualisation of raw data for a smoothing-splines mixed-effects model
的原始数据进行平滑样条混合效应模型的可视化
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A visualisation of the raw data used to fit the smoothing-splines mixed-effects model is obtained. This is presented as a trellis plot where each panel shows the observations for one of the subjects as a scatter plot (with optional lines connecting the observations if showRawLines is TRUE). If showModelFits is TRUE, then these observations are overlaid with the fitted individual curve for that subject.
得到的原始数据,以适应平滑样条混合效应模型的可视化。这是作为一个网格图,其中每个面板显示的观测值的散点图(可选的连接线观察,如果showRawLines是TRUE)的主题之一。 showModelFits如果是TRUE,然后这些观察覆盖该主题的个人拟合曲线。
用法----------Usage----------
plotSmeRaw(x,xlab="Time",ylab="Y",mainTitle="",showModelFits=TRUE,showRawLines=FALSE)
参数----------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"
参数:mainTitle
the main title for the plot, defaulting to none
主标题的图,默认为无
参数:showModelFits
if TRUE, the fitted individual curve for each subject will be overlaid on their observations in their panel
TRUE如果,个人的拟合曲线为每个主题将覆盖在其面板上他们的意见
参数:showRawLines
if TRUE, the raw observations will be connected by lines
如果TRUE,原始观测值将连接线
值----------Value----------
A trellis plot 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, plotSmeModel, plotSmeDiagnostic
plot.sme,plotSmeModel,plotSmeDiagnostic
实例----------Examples----------
data(MTB)
fit <- sme(MTB[MTB$variable==6031,c("y","tme","ind")])
plotSmeRaw(fit,showModelFits=FALSE)
plotSmeRaw(fit,showModelFits=FALSE,showRawLines=TRUE)
plotSmeRaw(fit)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|