xxxxxxxxxx
print(r.eval("""
svg(filename='Rplots.svg',widt=5,height=5,pointsize=12,
onefile=TRUE,family='times',bg='ghostwhite',
antialias=c('default','none','gray','subpixel'))
model<-lm(weight~height,data=women)
plot(women$height,women$weight,col='violet',pch=10)
abline(model,col='purple'); grid(); dev.off()
"""))
No comments:
Post a Comment