plot.spm(SemiPar)
plot.spm()所属R语言包:SemiPar
Semiparametric regression plotting
半参数回归图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Takes a fitted spm object produced by spm() and plots the component smooth functions that make it up, on the
注意到一个装有spm对象spm()和图的组成部分平滑功能,使
用法----------Usage----------
## S3 method for class 'spm':
plot(x,...)
参数----------Arguments----------
参数:x
a fitted spm object as produced by spm().
一个装有spm对象产生的spm()。
参数:...
other graphics parameters described in Appendix B of the SemiPar Users' Manual http://www.uow.edu.au/~mwand/SPmanu.pdf
其他图形在半参数用户手册“http://www.uow.edu.au/的附录B中描述的参数~mwand / SPmanu.pdf
Details
详细信息----------Details----------
Produces plots with each panel corresponding
每个面板对应的图
值----------Value----------
The function generates plots.
该函数产生的图。
(作者)----------Author(s)----------
M.P. Wand
<a href="mailto:mwand@uow.edu.au">mwand@uow.edu.au</a>
(other contributors listed in SemiPar Users' Manual).
参考文献----------References----------
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)<br> Semiparametric Regression Cambridge University Press.<br> http://stat.tamu.edu/~carroll/semiregbook/
Ganguli, B. and Wand, M.P. (2005)<br> SemiPar 1.0 Users' Manual.<br> http://www.uow.edu.au/~mwand/SPmanu.pdf
参见----------See Also----------
spm lines.spm predict.spm
spmlines.spmpredict.spm
实例----------Examples----------
library(SemiPar)
data(fossil)
attach(fossil)
fit <- spm(strontium.ratio~f(age))
plot(fit)
# Now do several customisations[现在做一些定制]
op <- par(bg="white")
par(bg="honeydew")
plot(fit,ylim=range(strontium.ratio),col="green",
lwd=5,shade.col="mediumpurple1",rug.col="blue")
points(age,strontium.ratio,col="orange",pch=16)
par(op)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|