Similarly to mean, simply running median(variable) provides the median.

> median(spidersconsumed)
[1] 0

Thank goodness!