[R] Tick marks that correspond with bars on barplot

2008-08-08 Thread Megan J Bellamy
Hello all, I have created a barplot that shows change in hardwood/softwood density from 1965 to 2005 in 5 year periods (1965,1970, etc). I would like to have an X-axis where the labels for the years line up after every two bars in the plot (there is one bar for hardwood, and another for softwoo

[R] RODBC to query an Oracle table

2008-07-28 Thread Megan J Bellamy
Hello all, I am having trouble running a count function in R using RODBC to query a table I created in Oracle. It may very well be that my SQL coding is incorrect; I just started learning it. But if someone could point me in the right direction or tell me if I am going about this the correct wa

[R] Using RODBC to use SQL queries

2008-07-23 Thread Megan J Bellamy
Hello, I am new to the RODBC package, but I have looked over the PDF as well as a few websites that go over the SQL language. I can connect to my database fine using >channel<-odbcConnect("Oracle ODBC") # then am prompted to enter my user id and password After that I'd like to use the odbcQuery

[R] subscripted assignments errormessage in gap.boxpot

2008-06-25 Thread Megan J Bellamy
I am trying to create a boxplot that has a gap with different scales so that my boxes actually show (compare attachments). I have referred to the help pages for gap.boxplot, gap.plot, list with no luck so far. Here is my script and the resulting error message: # Import *.csv files containing ar

Re: [R] gap.boxplot error message?

2008-06-25 Thread Megan J Bellamy
;) #axis.break(axis=2, breakpos=8000, bgcol="white", breakcol="black", style="gap", brw=0.02) #gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,28), bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE) - Megan Bellamy >>&g

Re: [R] gap.boxplot error message?

2008-06-25 Thread Megan J Bellamy
000), bottom=c(0,250)), range=50, outline=TRUE) but I haven't tried this. Stephen On Wed, Jun 25, 2008 at 10:49 AM, Megan J Bellamy <[EMAIL PROTECTED]> wrote: > Hello, > > When I put in the following script line: > gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,28

[R] gap.boxplot error message?

2008-06-25 Thread Megan J Bellamy
Hello, When I put in the following script line: gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,28), bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE) I get a '+' telling me I am missing something. I have tried adding ')', 'width=NULL', etc and then I get this error: Er

[R] changing scale range after an axis break

2008-06-24 Thread Megan J Bellamy
Hello, I am constructing a boxplot but have a very wide range of values (zero - ~28000). I have placed an axis break at the 8000 mark but would like to have a different scale above the break that ranges from 8000-28000. Right now my axis is so large that the boxplots are only represented as lin

[R] Line Breaks and Axis breaks..

2008-05-23 Thread Megan J Bellamy
Hello all, I have two questions. One probably has a very simple answer but I have checked the FAQ, other websites and still have not found an answer. I am new to using R. My very simple question is how to do line breaks when creating an axis title (xlab) ? I have a few that are too long and th