Re: [R] what happens when I store linear models in an array?

2011-05-04 Thread Andrew D. Steen
Thanks all, this is very helpful. --Andrew Steen > -Original Message- > From: David Winsemius [mailto:dwinsem...@comcast.net] > Sent: Wednesday, May 04, 2011 4:35 PM > To: Andrew D. Steen > Cc: r-help@r-project.org > Subject: Re: [R] what happens when I store linear

[R] what happens when I store linear models in an array?

2011-05-04 Thread Andrew D. Steen
't seem to call extraction functions on the linear models: > fitted(lms.ASP[1,1]) NULL It seems like something less than the actual linear model object is being stored in the array, but I don't understand what's happening, or how to easily batch-extract parameters of linear models

Re: [R] gap.barplot doesn't support data arrays?

2011-04-05 Thread Andrew D. Steen
Jim, That works great. Thanks much for the quick help. Cheers, Drew > -Original Message- > From: Jim Lemon [mailto:j...@bitwrit.com.au] > Sent: Tuesday, April 05, 2011 2:12 PM > To: Andrew D. Steen > Cc: r-help@r-project.org > Subject: Re: [R] gap.barplot doesn

Re: [R] gap.barplot doesn't support data arrays?

2011-04-04 Thread Andrew D. Steen
uessing I can do this if I spend enough time with the axis.break() function. But is there an easier way? --Drew > -Original Message- > From: Peter Ehlers [mailto:ehl...@ucalgary.ca] > Sent: Monday, April 04, 2011 4:33 PM > To: Andrew D. Steen > Cc: r-help@r-project.org

[R] gap.barplot doesn't support data arrays?

2011-04-04 Thread Andrew D. Steen
I am trying to make a barplot with a broken axis using gap.barplot (in the indispensable plotrix package). This works well when the data is a vector: > twogrp<-c(rnorm(10)+4,rnorm(10)+20) > gap.barplot(twogrp,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group values",main="Barplot with gap")