[R] Beginner Q- dates in the xrange?

2009-09-16 Thread Wells Oliver
;2010-06-04" [49] "2010-06-05" "2010-06-06" "2010-06-08" "2010-06-09" "2010-06-10" "2010-06-11" "2010-06-12" "2010-06-13" "2010-06-14" "2010-06-15" "2010-06-16" "2010-06-17" [61]

Re: [R] Beginner Q- dates in the xrange?

2009-09-16 Thread Wells Oliver
: > xrange <- results$current > yrange <- results$DIFF > > plot(xrange, yrange, type="n", xlab="Date", ylab="Differential") > lines(results$DIFF, type="l", lwd=1.5, col="red") > > Where xrange is: > > > xrange >

[R] Quartering a plot() ?

2010-04-06 Thread Wells Oliver
hop the box drawn by lines into an even 3x3 grid- is this possible easily? Thanks! -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

[R] Stacked bar chart help.

2009-12-02 Thread Wells Oliver
17", "18"), class = "data.frame") I am trying to render a stacked bar chart, on the X axis the list of unique positions, on the Y axis the range of min to max salary. The stacked charts would show the averages per year, with a color

[R] Extracting vectors from a matrix (err, I think) in RMySQL

2009-12-02 Thread Wells Oliver
008 197 Apologies if I'm mangling terminology here. -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide h

[R] Formatting of numbers on y axis

2009-12-03 Thread Wells Oliver
scientific = F)) Which nicely creates the Y axis with the raw numbers, which are in the range of .5 - 7 million. However, it displays them as "100", and so on- I'd like it to show just whole numbers 1, 2, 3, through 7, so I can label the Y axis "in millions". Any tip

[R] par() background issue

2009-12-03 Thread Wells Oliver
, family='Lucida Grande') plot(salaries$yearID, salaries$salary/100, bg='#FF') But that does nothing. How can I accomplish this? Thanks! -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ R-he

[R] Formatting the length one vector to match another?

2009-12-08 Thread Wells Oliver
Any tips? Thank you! -- Wells Oliver we...@submute.net [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-

[R] Drawing an axis with a subset of the data

2009-12-13 Thread Wells Oliver
CDT" "2009-06-03 CDT" "2009-06-05 CDT" "2009-06-06 CDT" [57] "2009-06-07 CDT" "2009-06-09 CDT" "2009-06-10 CDT" "2009-06-11 CDT" "2009-06-12 CDT" "2009-06-13 CDT" "2009-06-14 CDT" I&#x