r subset

  1. R

    Sub-setting data in R using 2 data tables

    I'm trying to, ultimately, find max / min values in "DS" for multiple values of "P" in Perf for different properties "API". The "DS" set is 882 x 8 while Perf is 81 x 6. I have the problematic code below I've run that uses a "for" loop. Note that when API <- 1, the code does not stop at i <=...