Skip to content

Problem with R.2.9.2 Plot functions

2 messages · Steve_Friedman at nps.gov, Duncan Murdoch

#
Hello,

Last week I installed ver 2.9.1 and it worked fine.  This morning I have
been working on some simple schemes,

plot(PropHatchedNests$Phatched, PropHatchedNests$MEAN)
 abline(lm(PropHatchedNests$Phatched, PropHatchedNests$MEAN))

This oddly produces a box and whiskers plot.

I uninstalled 2.9.1 and installed 2.9.2 and ran the same commands.  Same
output.

Is anyone else experiencing this conflict between bwplot and plot ?

I'm working on windows XP.

Thanks

Steve Friedman Ph. D.
Spatial Statistical Analyst
Everglades and Dry Tortugas National Park
950 N Krome Ave (3rd Floor)
Homestead, Florida 33034

Steve_Friedman at nps.gov
Office (305) 224 - 4282
Fax     (305) 224 - 4147
#
On 8/31/2009 2:58 PM, Steve_Friedman at nps.gov wrote:
That's a sign that PropHatchedNests$Phatched is not a numeric vector. 
I'm guessing it's a factor; try str(PropHatchedNests$Phatched) to be 
sure.  (You probably read it in from a file, and the file has a typo 
that made R treat it as a factor.)

Duncan Murdoch