[R] ssanova/ ssanova0 and adding the fitted line to a plot.

ali_protocol mohammadianalimohammadian at gmail.com
Thu Jan 5 09:30:21 CET 2012


Hi everyone,

I use this code to add the fitted line to a plot, however, I think I cannot
access the fitted equation. How my I find  the equation  in the object ksi?
thanks alot.

library (gss)
####generate (simple linear) x and y
x= 2* (1:40)
y= x-1
plot (x,y)
## fit and draw
ksi = ssanova0 (x~y, method= "m")
lines( ksi$qwk, col = "red")

--
View this message in context: http://r.789695.n4.nabble.com/ssanova-ssanova0-and-adding-the-fitted-line-to-a-plot-tp4264679p4264679.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list