lines.spm(SemiPar)
lines.spm()所属R语言包:SemiPar
Add a curves to an existing plot.
添加一个曲线现有的图。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Takes a fitted spm object produced by spm() and adds a curve. The function is only appropriate in the case
一个装有spm对象产生的spm(),并增加了一个曲线。该功能仅适用的情况下
用法----------Usage----------
## S3 method for class 'spm':
lines(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:uow.edu.au/~mwand/SPmanu.pdf
其他图形在半参数用户手册“http:uow.edu.au/的附录B中描述的参数~mwand / SPmanu.pdf
Details
详细信息----------Details----------
Takes a fitted spm object produced by spm() and adds a curve. The function is only appropriate in the case
一个装有spm对象产生的spm(),并增加了一个曲线。该功能仅适用的情况下
值----------Value----------
The function adds a curve to a plot.
该函数添加一个曲线的图。
(作者)----------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 plot.spm predict.spm summary.spm residuals.spm fitted.spm
spmplot.spmpredict.spmsummary.spmresiduals.spmfitted.spm
实例----------Examples----------
library(SemiPar)
data(fossil)
attach(fossil)
fit <- spm(strontium.ratio~f(age))
plot(fossil,type="n")
lines(fit)
points(fossil)
# Now do several customisations[现在做一些定制]
op <- par(bg="white")
par(bg="honeydew")
plot(fossil,type="n")
lines(fit,col="green",lwd=5,shade.col="mediumpurple1")
points(fossil,col="orange",pch=16)
par(op)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|