search for: xymodel

Displaying 1 result from an estimated 1 matches for "xymodel".

Did you mean: mymodel
2007 Jun 21
2
abline plots at wrong abscissae after boxplot
...lot originally made with "boxplot", but the lines appear in the wrong place. Below is a script that illustrates the problem # boxablinetest.R - script to show problem with abline on box plot x <- c( 2, 2, 2, 3, 3, 3, 4, 4, 4) y <- c( 1, 2, 3, 2, 3, 4, 3, 4, 5) xymodel <- lm( y~x) boxplot( y~x) abline( xymodel) # Wrong abcissae abline( v = 2.5) # Wrong abcissa abline( h = 2.75) # Right ordinate # -------------- end -------------- Here, I'm making a box plot with abscissae that start at...