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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s