Re: [R] Analysis and graphics by groups

2011-04-29 Thread Bilonick, Richard A
roject.org [r-help-boun...@r-project.org] on behalf of Andrew Robinson [a.robin...@ms.unimelb.edu.au] Sent: Friday, April 29, 2011 8:05 PM To: Cristiano Yuji Sasada Sato Cc: r-help@r-project.org Subject: Re: [R] Analysis and graphics by groups hi Christiano, the error is that FUN is not a funct

Re: [R] Analysis and graphics by groups

2011-04-29 Thread Andrew Robinson
hi Christiano, the error is that FUN is not a function. That is true, the argument that you are passing to FUN is a different class. Instead of fx, for example, where fx is your model code below, try to write it as a function of the arguments that you want to split by Cerca. You might try to con

Re: [R] Analysis and graphics by groups

2011-04-29 Thread Cristiano Yuji Sasada Sato
Hello, This is my first post in this e-mail list and I hope it's enough to justify calling for help. In case it's not, sorry. I'm trying to do analysis and graphics using a factor as a criteria to split data and do the analysis/graphics for each subset of data. Right now what I'm trying to do is