Re: [R] bar plot add space to group data

2018-08-19 Thread citc
August 17, 2018 10:24 PM, "Rolf Turner" wrote: > On 18/08/18 02:37, David L Carlson wrote: > >> Notice below that your message is substantially scrambled. R-Help is a >> plain text only list so you should set your email client to produce plain >> text messages. Apologies, forgot to change the

Re: [R] bar plot add space to group data

2018-08-18 Thread Jim Lemon
Hi citc, Try this: geac<-matrix(c(9,9,8,8,8,23,23,23,23,22,27,27,27,25,24, 19,19,19,20,20,17,17,17,18,19,8,8,8,9,9,2,2,3,3,3),ncol=5,byrow=TRUE) library(plotrix) barp(geac,names.arg=2014:2018,main="A level grades chemistry", xlab="Year",ylab="Percentage of each grade",ylim=c(0,30), col=c("white

Re: [R] bar plot add space to group data

2018-08-17 Thread Rolf Turner
On 18/08/18 02:37, David L Carlson wrote: Notice below that your message is substantially scrambled. R-Help is a plain text only list so you should set your email client to produce plain text messages. The best place to start is with the manual page for the barplot() function: ?barplot or h

Re: [R] bar plot add space to group data

2018-08-17 Thread David L Carlson
lp@r-project.org Subject: [R] bar plot add space to group data R-users, Can someone please advise how to improve the code below that was used to produce the graph shown at the following hyperlink (https://chemistryinthecity.neocities.org/content/entry1808.html#17)? The request is to add space between

Re: [R] bar plot add space to group data

2018-08-17 Thread Chris Ryan
Using the lattice package would provide an easy way to distinguish years, by putting them in different panels. Lattice would also help avoid some other features of this graph that, in my opinion, are suboptimal. See Tufte or Cleveland. Chris Ryan -- Sent from my Android device with K-9 Mail.

[R] bar plot add space to group data

2018-08-17 Thread citc
R-users, Can someone please advise how to improve the code below that was used to produce the graph shown at the following hyperlink (https://chemistryinthecity.neocities.org/content/entry1808.html#17)? The request is to add space between the annual data groups. barplot(gceac[,3], xlab='year',

Re: [R] Bar plot in R with more than 2 factors

2014-10-10 Thread Jim Lemon
On Thu, 9 Oct 2014 11:18:43 PM Franklin Mairura wrote: > Please help, it possible to make an r means barplot in R using base, where > there are more than 2 factors and not with lattice, Franklin. > Hi Franklin, Have a look at the barNest function in the plotrix package. Jim

[R] Bar plot in R with more than 2 factors

2014-10-10 Thread Franklin Mairura
Please help, it possible to make an r means barplot in R using base, where there are more than 2 factors and not with lattice, Franklin. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/lis

Re: [R] bar plot stacked

2014-06-19 Thread Jim Lemon
On Thu, 19 Jun 2014 01:42:30 PM message wrote: > Readers, > > For data set: > > a, 90, 10 > b, 60, 40 > c, , > d, , 50 > > A plot was attempted: > > dataset<-as.matrix(read.csv("datafile.csv",header=FALSE)) > barplot<-(dataset,horiz=TRUE) > > A warning message is returned, about NAs introduced

Re: [R] bar plot stacked

2014-06-19 Thread William Dunlap
> dataset<-as.matrix(read.csv("datafile.csv",header=FALSE)) You should always inspect the dataset immediately after reading it in, before doing other manipulations on it. Converting data from one format to another is always going to be error-prone. Plotting it, say with pairs() or just plot(), i

Re: [R] bar plot stacked

2014-06-19 Thread Bart Kastermans
On 19 Jun 2014, at 15:42, message wrote: > Readers, > > For data set: > > a, 90, 10 > b, 60, 40 > c, , > d, , 50 > > A plot was attempted: Wonder who attempted this. :-) > > dataset<-as.matrix(read.csv("datafile.csv",header=FALSE)) Look at your dataset; I’d say it is clearly not what you w

[R] bar plot stacked

2014-06-19 Thread message
Readers, For data set: a, 90, 10 b, 60, 40 c, , d, , 50 A plot was attempted: dataset<-as.matrix(read.csv("datafile.csv",header=FALSE)) barplot<-(dataset,horiz=TRUE) A warning message is returned, about NAs introduced by coercion and an undesirable graph. The desired output is something simi

[R] Bar plot help

2013-09-11 Thread Moshiur Rahman
Hi R-helpers, Can anyone help me giving instructions/package sources to make a simple bar plot with mean and standard error of variables [Orange colour (which has four PCs) and Irid colour (which has two PCs)] that I'd like to plot in x-axis and the values in y-axis? The diet should be as legend

Re: [R] bar plot with non-zero starting level

2013-05-22 Thread Xianwen Chen
>> You have continuous variables on x so I used scale_x_continuous for > >> changing the ticks and adding labels. You can modify angle, size, etc > with > >> theme. > >> > >> > >> rect_MNL_Delta<- data.frame( > >> xmin = c(1, 3

Re: [R] bar plot with non-zero starting level

2013-05-22 Thread Xianwen Chen
Hi Jim, Thank you very much. I have started another conversation in the ggplot list. My current code is plot_data <- data.frame( xmin = c(1, 1.5, 3, 3.5, 5, 5.5, 7, 7.5, 9, 9.5, 11, 11.5, 13, 13.5) , ymin = c(16.7026, 17.20, 14.9968, 16.32, 16.0630, 15.86, 17.7510, 18.12, -5.01694, -8.86, -.44

Re: [R] bar plot with non-zero starting level

2013-05-20 Thread Jim Lemon
On 05/21/2013 12:54 AM, Xianwen Chen wrote: Hi Jim, Thank you for the suggestion. I think overlapped rectangles will well present the message. I'm now trying ggplot2. Here is the code: require(ggplot2) rect_MNL_Delta <- data.frame( xmin <- c(1, 3, 5, 7, 9, 11, 13), xmax <- xmin + 1, ymin <- c(

Re: [R] bar plot with non-zero starting level

2013-05-20 Thread Xianwen Chen
Hi Jim, Thank you for the suggestion. I think overlapped rectangles will well present the message. I'm now trying ggplot2. Here is the code: require(ggplot2) rect_MNL_Delta <- data.frame( xmin <- c(1, 3, 5, 7, 9, 11, 13), xmax <- xmin + 1, ymin <- c(16.7026, 14.9968, 1

Re: [R] bar plot with non-zero starting level

2013-05-19 Thread Jim Lemon
On 05/19/2013 09:19 AM, Xianwen Chen wrote: Hi, I want to plot grouped bars to compare 95% confidence interval estimates from two models. Each bar represents a 95% confidence interval estimate of a coefficient from one of the two models. Each group represents confidence interval estimates of the

[R] bar plot with non-zero starting level

2013-05-18 Thread Xianwen Chen
Hi, I want to plot grouped bars to compare 95% confidence interval estimates from two models. Each bar represents a 95% confidence interval estimate of a coefficient from one of the two models. Each group represents confidence interval estimates of the same coefficient from the two models. I

Re: [R] bar plot issues

2011-10-21 Thread Uwe Ligges
On 20.10.2011 22:29, Henri-Paul Indiogine wrote: Hi Uwe! 2011/10/20 Uwe Ligges: arrange it outside by, e.g. increasing the size of margins (see argument "mar" in ?par) and place a separate legend (see ?legend) into the margins (see xps argument in ?par). I could not find 'xps', do you mean

Re: [R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi Uwe! 2011/10/20 Uwe Ligges : > arrange it outside by, e.g. increasing the size of margins (see argument > "mar" in ?par) and place a separate legend (see ?legend) into the margins > (see xps argument in ?par). I could not find 'xps', do you mean 'xpd'? This is what I have so far: > par(mar=

Re: [R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi Uwe! 2011/10/20 Uwe Ligges : >  names.arg = rep(NA, nrow(file.codes)) Yes, that works beautifully. Danke schoen! Henri-Paul -- Henri-Paul Indiogine Curriculum & Instruction Texas A&M University TutorFind Learning Centre Email: hindiog...@gmail.com Skype: hindiogine Website: http://people

Re: [R] bar plot issues

2011-10-20 Thread Uwe Ligges
On 20.10.2011 18:58, Henri-Paul Indiogine wrote: Hi Uwe! Thanks for the feedback. However, now the graph does not draw the y-axis nor labels and gives the following error message: Error in barplot.default(t(file.codes), beside = FALSE, names.arg = NA, : incorrect number of names nam

Re: [R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi Uwe! Thanks for the feedback. However, now the graph does not draw the y-axis nor labels and gives the following error message: Error in barplot.default(t(file.codes), beside = FALSE, names.arg = NA, : incorrect number of names This is the R code now: barplot(t(file.codes), beside = FAL

Re: [R] bar plot issues

2011-10-20 Thread Uwe Ligges
On 20.10.2011 18:03, Henri-Paul Indiogine wrote: Hi! I have 2 problems in drawing a stacked bar plot: (1) This is a stacked bar plot with more than 100 bars next to each other. So there should not be names at the bottom of the bars because the bars are too narrow.I tried arg.names=NULL

[R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi! I have 2 problems in drawing a stacked bar plot: (1) This is a stacked bar plot with more than 100 bars next to each other. So there should not be names at the bottom of the bars because the bars are too narrow.I tried arg.names=NULL but that does not work because R uses the row names f

Re: [R] Bar Plot Bars "Bleed" off Plotting Area

2010-07-22 Thread David Winsemius
On Jul 22, 2010, at 2:13 PM, Gregory Gilbert wrote: R Community, I have a stupid little barplot I am trying to construct (Windows XP, R.11.1, 32-bit). Whenever I run it my bars run below the horizontal axis. Can anyone (1) reproduce this and (2) offer a solution? I'm not sure I should b

[R] Bar Plot Bars "Bleed" off Plotting Area

2010-07-22 Thread Gregory Gilbert
R Community, I have a stupid little barplot I am trying to construct (Windows XP, R.11.1, 32-bit). Whenever I run it my bars run below the horizontal axis. Can anyone (1) reproduce this and (2) offer a solution? Rather simplistic code follows (I am new to the community)> Thanks for your help! Gre

Re: [R] Bar plot

2010-02-09 Thread Peter Ehlers
Sunita Patil wrote: Hello Peter Sorry I forgot to paste the error for tittle it was as follows *Error in title(main = "Year Vs StudentsPassed") : plot.new has not been called yet* Well, that makes sense. You can't put a title on a plot that doesn't exist. -Peter Regards Our Thoughts h

Re: [R] Bar plot

2010-02-09 Thread Sunita Patil
Hello Peter Sorry I forgot to paste the error for tittle it was as follows *Error in title(main = "Year Vs StudentsPassed") : plot.new has not been called yet* Regards Our Thoughts have the Power to Change our Destiny. Sunita Sent from Pune, MH, India On Tue, Feb 9, 2010 at 11:22 PM, Peter E

Re: [R] Bar plot

2010-02-09 Thread Peter Ehlers
Here is a simple 3-step solution: 1. type ?barplot 2. find the section labelled 'Arguments' 3. carefully read what each argument means/does Voila, problem(s) solved. (It was good to include some data, but not so good to say that title(...) is giving "an error". No need to be secretive about the

[R] Bar plot

2010-02-09 Thread Sunitap22
Hello (this might be a very simple question) My data is as follows (table name is student) YearStudentsPassed 1 2000300 2 2001360 3 2002450 4 2003450 5 2004270 6 2005280 7 2006400 8 2007270 I want to plot a barplot so for this If I use barplot(s

Re: [R] bar plot/ histogram

2009-02-11 Thread Greg Snow
. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of phoebe kong > Sent: Wednesday, February 11, 2009 11:11 AM > To: r-help >

Re: [R] bar plot/ histogram

2009-02-11 Thread Marc Schwartz
on 02/11/2009 12:10 PM phoebe kong wrote: > Hi all, > > I would like to construct plot of the distribution of N, where N range > from 1 to 10. I couldn't just use the hist(), as I want the categories > for the bars are: 1, 2, 3, 4, >=5. So this will be a bar plot with 5 > bars, and the height of t

[R] bar plot/ histogram

2009-02-11 Thread phoebe kong
Hi all, I would like to construct plot of the distribution of N, where N range from 1 to 10. I couldn't just use the hist(), as I want the categories for the bars are: 1, 2, 3, 4, >=5. So this will be a bar plot with 5 bars, and the height of the bar will be the frequency of N. (eg bar#1 will be t

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-20 Thread Greg Snow
t: Monday, January 19, 2009 5:37 PM > To: Greg Snow > Cc: hadley wickham; R-help > Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching > > what is your suggestion for distinguishing between many bars without > color? I have grown up in the time of standarized te

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-20 Thread hadley wickham
>>I disagree. Grey levels suck; labels are a kludge. It is an issue >>for ``many'' == 2, for which crosshatching works perfectly. >> > > Could you show an example? > > There are several BW examples in example(barplot), and the gray ones look > better on screen than the cross-hatch

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-20 Thread Duncan Murdoch
tical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of hadley wickham Sent: Thursday, January 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar P

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Don McKenzie
al Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of hadley wickham Sent: Thursday, January 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching Hi Stephen, #I am putting a test together

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Rolf Turner
;. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of hadley wickham Sent: Thursday, January 15, 2009 10:55 AM To: stephen

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Gabor Grothendieck
If classic graphics is ok try this which uses hatches and different shades of grey: barplot(lizards, names.arg = color, col = grey(c(.2, .5, 1)), density = 20, angle = c(45, -45, 0), legend = color) On Wed, Jan 14, 2009 at 10:18 PM, stephen sefick wrote: > #I am putting a test together fo

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Rolf Turner
Thursday, January 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching Hi Stephen, #I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Duncan Murdoch
ry 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching Hi Stephen, #I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar plot below ggplot2 uses the

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread stephen sefick
rg > 801.408.8111 > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- >> project.org] On Behalf Of hadley wickham >> Sent: Thursday, January 15, 2009 10:55 AM >> To: stephen sefick >> Cc: R-help >> S

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Greg Snow
.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of hadley wickham > Sent: Thursday, January 15, 2009 10:55 AM > To: stephen sefick > Cc: R-help > Subject: Re: [R] Bar Plot ggplot2 Fillin

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-15 Thread hadley wickham
This will be fixed in the next version, but until then you can do title = "Aquarium\n" Hadley On Wed, Jan 14, 2009 at 9:24 PM, stephen sefick wrote: > Also notice that the q in Aquarium is hidden. Is there a way to make > this not happen? > thanks > > Stephen Sefick > > On Wed, Jan 14, 2009 at

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-15 Thread hadley wickham
Hi Stephen, > #I am putting a test together for an introductory biology class and I > would like to put different cross hatching inside of each bar for the > bar plot below ggplot2 uses the grid package to do all the drawing, and currently grid doesn't support cross-hatching, so unfortunately the

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-14 Thread stephen sefick
Also notice that the q in Aquarium is hidden. Is there a way to make this not happen? thanks Stephen Sefick On Wed, Jan 14, 2009 at 10:18 PM, stephen sefick wrote: > #I am putting a test together for an introductory biology class and I > would like to put different cross hatching inside of each

[R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-14 Thread stephen sefick
#I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar plot below color <- c("Brightly Colored", "Dull", "Neither") lizards <- c(277, 70, 3) liz.col <- data.frame(color, lizards) qplot(color, lizards, data=liz

Re: [R] Bar plot between two different liniar models

2009-01-13 Thread Marc Schwartz
on 01/13/2009 08:43 AM joe1985 wrote: > Hello > > I have a problem that i ant make a Bar plot like the one i have tried to > illustrate below (made in paint); > http://www.nabble.com/file/p21437080/LG5%2Bgraf%2Bredigeret.jpg > > http://www.nabble.com/file/p21437080/LG5%2Bgraf%2Bredigeret.JPG >

[R] Bar plot between two different liniar models

2009-01-13 Thread joe1985
Hello I have a problem that i ant make a Bar plot like the one i have tried to illustrate below (made in paint); http://www.nabble.com/file/p21437080/LG5%2Bgraf%2Bredigeret.jpg http://www.nabble.com/file/p21437080/LG5%2Bgraf%2Bredigeret.JPG LG5+graf+redigeret.JPG Where each line represents a

Re: [R] Bar Plot with Connected Points on 1 Y-Axis

2009-01-08 Thread jimdare
Cheers Marc, it works perfectly now. Thanks for your help! Marc Schwartz wrote: > > You can generalize the approach by using something like: > > ... > ylim = c(0, max(DF$TACC, DF$Catch) * 1.1) > ... > > > That would allow you to use the max value of the two columns, multiplied > by a fud

Re: [R] Bar Plot with Connected Points on 1 Y-Axis

2009-01-07 Thread Marc Schwartz
You can generalize the approach by using something like: ... ylim = c(0, max(DF$TACC, DF$Catch) * 1.1) ... That would allow you to use the max value of the two columns, multiplied by a fudge factor, which you can adjust as needed. In this case, increasing the y axis range by 10% to make room.

Re: [R] Bar Plot with Connected Points on 1 Y-Axis

2009-01-07 Thread jimdare
Thanks Marc, that has helped a lot. Say, for example, in a situation where I can't find out the highest value, is there any way to get R to automatically detect this and adjust the axis accordingly? I am planning to do this for many different stocks at once and dont wan't to have to define the h

Re: [R] Bar Plot with Connected Points on 1 Y-Axis

2009-01-06 Thread Marc Schwartz
on 01/06/2009 09:07 PM jimdare wrote: > Hi Everyone, > > Have created a bar plot of the data below using the following code: > barplot(TACC,space=0,names.arg=Year). I now want to add a series of > connected points to represent the catch. I tried to do this using > line(Catch) or points(Catch), h

[R] Bar Plot with Connected Points on 1 Y-Axis

2009-01-06 Thread jimdare
Hi Everyone, Have created a bar plot of the data below using the following code: barplot(TACC,space=0,names.arg=Year). I now want to add a series of connected points to represent the catch. I tried to do this using line(Catch) or points(Catch), however both of these commands result in each data

Re: [R] bar plot colors

2007-12-19 Thread John Kane
--- Jim Lemon <[EMAIL PROTECTED]> wrote: > John Kane wrote: > > I think you're going to find that barchart with > that > > many values in a bar is going to be pretty well > > uninterpretable. > > > > Jim Lemon gives the desired barchart but it is > very > > difficult to read. > > > > Steali

Re: [R] bar plot colors

2007-12-19 Thread Jim Lemon
John Kane wrote: > I think you're going to find that barchart with that > many values in a bar is going to be pretty well > uninterpretable. > > Jim Lemon gives the desired barchart but it is very > difficult to read. > > Stealing his code to create the same matrix I'd > suggest may be lookin

Re: [R] bar plot colors

2007-12-18 Thread John Kane
I think you're going to find that barchart with that many values in a bar is going to be pretty well uninterpretable. Jim Lemon gives the desired barchart but it is very difficult to read. Stealing his code to create the same matrix I'd suggest may be looking at a dotchart. I'm not sure if t

Re: [R] bar plot colors

2007-12-18 Thread Jim Lemon
Winkel, David wrote: > All, > > > > I have a question regarding colors in bar plots. I want to stack a > total of 18 cost values in each bar. Basically, it is six cost types and > each cost type has three components- direct, indirect, and induced > costs. I would like to use both solid color

Re: [R] bar plot colors

2007-12-17 Thread hadley wickham
> I have a question regarding colors in bar plots. I want to stack a > total of 18 cost values in each bar. Basically, it is six cost types and > each cost type has three components- direct, indirect, and induced > costs. I would like to use both solid color bars and bars with the > slanted lines

[R] bar plot colors

2007-12-17 Thread Winkel, David
All, I have a question regarding colors in bar plots. I want to stack a total of 18 cost values in each bar. Basically, it is six cost types and each cost type has three components- direct, indirect, and induced costs. I would like to use both solid color bars and bars with the slanted lines

Re: [R] Bar plot with error bars

2007-10-23 Thread John Kane
library(gplots) ?barplot2 should give you what you want. --- Katherine Jones <[EMAIL PROTECTED]> wrote: > Apologies if this has been asked before. I am having > trouble > understanding the R mailing list never mind R! > > I am relatively new to R having migrated from > Minitab and SPSS. I

Re: [R] Bar plot with error bars

2007-10-23 Thread John Kane
library(gplots) ?barplot2 should give you what you want. --- Katherine Jones <[EMAIL PROTECTED]> wrote: > Apologies if this has been asked before. I am having > trouble > understanding the R mailing list never mind R! > > I am relatively new to R having migrated from > Minitab and SPSS. I

Re: [R] Bar plot with error bars

2007-10-23 Thread Manuel Morales
Hi Katherine, If you have the original data, you can use the function barplot.CI from the package sciplot which will calculate the means and CI's for you. Examples are at: http://mutualism.williams.edu/sciplot If you have the means and CI's already calculated, the following function will do what

Re: [R] Bar plot with error bars

2007-10-22 Thread Daniel Nordlund
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Katherine Jones > Sent: Monday, October 22, 2007 2:04 PM > To: [EMAIL PROTECTED] > Subject: [R] Bar plot with error bars > > Apologies if this has been asked before. I am having

[R] Bar plot with error bars

2007-10-22 Thread Katherine Jones
Apologies if this has been asked before. I am having trouble understanding the R mailing list never mind R! I am relatively new to R having migrated from Minitab and SPSS. I have managed to do some more complicated statistics such as hierarchical partitioning of variance on an 80,000 record