Description Usage Arguments Value References See Also Examples

View source: R/mean.transectHolder.R

This function computes the mean dispersal distance along a transect of seed traps.

1 2 3 |

`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.

1 2 3 4 5 6 7 8 9 10 | ```
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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.