5 comments on “Stupid R tricks: using outer to create many data.frame subsets

    • Great point. I could replace T %in% y with any(y). I still need to compute any for each row, so I do not see a way to get rid of the aaply off the top of my head.

      Thanks!

    • Work for me. If you provide the line-by-line output I’ll be glad to help you debug.

      platform x86_64-apple-darwin9.8.0
      arch x86_64
      os darwin9.8.0
      system x86_64, darwin9.8.0
      status
      major 2
      minor 14.1
      year 2011
      month 12
      day 22
      svn rev 57956
      language R
      version.string R version 2.14.1 (2011-12-22)

Leave a reply to Paul Cancel reply