Re: [R] Having trouble controlling plot() output (e.g., color)

2012-02-04 Thread John Kane
t;red") p John Kane Kingston ON Canada > -Original Message- > From: da...@catwhisker.org > Sent: Fri, 3 Feb 2012 14:28:35 -0800 > To: r-help@r-project.org > Subject: [R] Having trouble controlling plot() output (e.g., color) > > I expect that there's somethi

Re: [R] Having trouble controlling plot() output (e.g., color)

2012-02-03 Thread Sarah Goslee
Hi David, You need to do some detective work. The data that gives an odd result: > str(bs_mean) 'data.frame': 13 obs. of 2 variables: $ month : Factor w/ 13 levels "2011_01","2011_02",..: 1 2 3 4 5 6 7 8 9 10 ... $ bs$log_t: num 1.2 1.28 1.31 1.35 1.37 ... A factor: no wonder it doesn't

[R] Having trouble controlling plot() output (e.g., color)

2012-02-03 Thread David Wolfskill
I expect that there's something glaringly obvious that I'm overlooking, as I'm justr getting back involved in using R after a several-month hiatus (from R). So I welcome clues. When I invoke plot(), merely specifying a data.frame with 2 columns, specify the plot type ("type") of "p" ("points"), a