Re: [R] Exporting aggregate summary

2014-01-28 Thread Rui Barradas
Hello, Your data.frame doesn't have a 'state' column: aggregate(latency~participant+condition+state, data=data, FUN=mean) Error in eval(expr, envir, enclos) : object 'state' not found Anyway, you can use ?write.csv to write the result to a csv file, and open it in excel, or use one of the R pa

Re: [R] Exporting aggregate summary

2014-01-28 Thread John Kane
Personally I just create a csv file using write.csv() and then read the text file into the spreadsheet if needed. To be fancier have a look at the xlsx package. BTW there is no 'state' variable in your data.frame. John Kane Kingston ON Canada > -Original Message- > From: skagandboneg..