Skip to content
Prev 302046 / 398503 Next

plotting 0,1 data

Perhaps y is a factor.  E.g.,
both treat y as as.numeric(y), which is c(1,2) in the first
and c(2,1) in the second.

When you import data into R, always look at it with str()
and various plots to convince yourself it is what you think
it is.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com