search for: animonth

Displaying 1 result from an estimated 1 matches for "animonth".

Did you mean: animint
2007 Dec 10
0
problem using "by" with custom function?
...dises the data based on the X and Y values, then uses dpik to calculate the bandwidth for each variable. The result is the average of the X and Y estimates. I then use the command "by" to run the function on a dataframe which has X and Y in columns 5 and 6, and a grouping variable "animonth" to individualise the data by animal and month. when I run the by command on a small data table (only a few different levels of animonth) it works perfectly. The problem is when I try to run it on all the data (or more than a few levels) at once. I get the error posted below. However, if...