• Nicholas Carey

attackR - New R Package

I've just released a new R package - attackR, which contains the code we used in our recent PNAS study in which we examined how humpback whales are able to sneak up on easily-scattered anchovies, a counter-intuitive finding related to their large size and approach speeds.

However, it can be used in all sorts of predator-prey interactions. Given shape, speed and size, the package can determine how any predator appears to a prey in their visual field, and allow identification of visual response thresholds.


It's available here and I'll be updating it soon so you can create animations from the output models using my other package loomeR.

5 views

Recent Posts

See All

New R Package

I have a new `R` package on my Github, with a very imaginative name: https://github.com/nicholascarey/caRey It's basically a collection of general functions for data processing. There are only a few f

© 2019.  Site Updated May 2019