I want to be able to say for example: "Tree cavity is selected by bats as a roost, when the activity stays in level of XX overfights ("1"'s) for at least XX minutes"
try googling or post a Q on CV with describing your problem, it seems interesting and you'd probably get some nice answer by someone who is more proficient in such methods