mean.trapTransect {spuRs} | R Documentation |
This function computes the mean dispersal distance along a transect of seed traps.
## S3 method for class trapTransect
## S3 method for class 'trapTransect'
mean(x, ...)
x |
an object representing a transect of seed traps. |
... |
further arguments passed to or from other methods. |
The mean seed dispersal distance is returned.
Jones, O.D., R. Maillardet, and A.P. Robinson. 2009. An Introduction to Scientific Programming and Simulation, Using R. Chapman And Hall/CRC.
s1 <- trapTransect(distances = 1:4, seed.count = c(4, 3, 2, 0))
mean(s1)