On Feb 7, 2008 2:21 PM, hadley wickham <[EMAIL PROTECTED]> wrote: > Hi Neil, > > I think your cast statement is wrong. You have > > cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ value, sum) > > but I think you want > > cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ ., sum) > > i.e. value never appears in the cast formula.
Hi Hadley, Your right, my formula was wrong. I should have had 'variable' in place of 'value'. > cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ variable, sum) Thanks for the help, and apologies for the dumb mistake (I even have your paper from Journal of Statistical Software sat on my desk and still managed to miss the glaringly obvious). "Everyone is entitled to be stupid, but some abuse the privilege." - Unknown I guess I've been abusing my privilege a bit today. Neil -- Email - [EMAIL PROTECTED] / [EMAIL PROTECTED] Photos - http://www.flickr.com/photos/slackline/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.