Re: [R] Calculating an index of colocation for a large dataset

2013-06-25 Thread Bree W
My apologies for cross-posting and for failing to reply to r-help. I'll get the hang of it. This code seems to be getting me quite close, but I've encountered the following error. Error in compute(dat, depths, fish, zoop) : attempt to apply non-function -- View this message in context: http:

[R] Calculating an index of colocation for a large dataset

2013-06-21 Thread Bree W
I have a complicated, multi-part question. My apologies if I do not make myself clear. I am also a fairly novice R user, so forgive me if this seems rudimentary. I want to calculate a index of colocation for whale dive data and prey distribution data. This entails: Calculating a frequency distribu