This function computes the standard deviation of the dispersal distances along a transect of seed traps.
sd.transectHolder(transectHolder)
The standard deviation of the seed dispersal distances is returned.
an object representing a transect of seed traps.
Jones, O.D., R. Maillardet, and A.P. Robinson. 2009. An Introduction to Scientific Programming and Simulation, Using R. Chapman And Hall/CRC.
transectHolder
transect.1 <- trapTransect(distances = 1:4,
seed.counts = c(4, 3, 2, 0))
transect.2 <- trapTransect(distances = 1:3,
seed.counts = c(3, 2, 1))
transect.3 <- trapTransect(distances=(1:5)/2,
seed.counts = c(3, 4, 2, 3, 1))
allTraps <- transectHolder(transect.1, transect.2, transect.3,
family="Weibull")
mean(allTraps)
sd.transectHolder(allTraps)
Run the code above in your browser using DataLab