title: Bootstrapping: Error in statistic(data, original, ...) : unused argument(s) (original)
body: <p>I have a database of position estimates, and want to calculate monthly kernel utilization distributions. I can do this using the adehabitat package in R, but I would like to estimate 95%confidence intervals for these values using bootstrapping that samples from the database.
  Today I've been experimenting with the boot package, but I am still fairly new to R and am needing some more expert help!
  The main error message I'm getting is: </p>
  
  <pre><code>Error in statistic(data, original, ...) : unused argument(s) (original)
  </code></pre>
  
  <p>Here is a look at the file I've been using:</p>
  
  <pre><code>    head(all)
  Num          Hourbin  COA_Lat   COA_Lon  POINT_X POINT_Y   month year    id
  1 07/10/2010 15:00 48.56225 -53.89144 729339.9 5383461 October 2010 29912
  2 07/10/2010 16:00 48.56254 -53.89121 729355.7 5383495 October 2010 29912
  4 07/10/2010 18:00 48.56225 -53.89144 729339.7 5383461 October 2010 29912
  5 07/10/2010 19:00 48.56225 -53.89144 729339.9 5383461 October 2010 29912
  6 07/10/2010 20:00 48.56225 -53.89144 729339.8 5383461 October 2010 29912
  7 07/10/2010 21:00 48.56225 -53.89144 729339.9 5383461 October 2010 29912
  </code></pre>
  
  <p>With columns 5 and 6 being the X and Y positions respectively. I subset this dataset for different months (ie getting files named "oct","nov",etc). I have tried setting up the kernelUD function in the adehabitat package to be a function that I can call up for bootstrapping, but have had no luck so far.</p>
  
  <pre><code>kUDoct&lt;-function(i) kernel.area(oct[,5:6],oct[,10],kern="bivnorm",unin=c("m"),unout=c("km2"))
  bootoct&lt;-boot(oct,kUDoct,R=1000)
  Error in statistic(data, original, ...) : unused argument(s) (original)
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>M</p>