Description Usage Arguments Details Value Author(s) References See Also Examples

dailyOMP generates an OMP object giving the daily outcrossed mating potential of individuals based on k nearest neighbors

1 2 |

`scene` |
a matingScene object |

`k` |
integer, number of nearest neighbors to use in calculating OMP |

`days` |
the day or range of days to calculate OMP for, default is all days in a scene (see Details) |

`alpha` |
parameter of exponential decay to be used in calculating OMP (defaults to 1/13) |

`nn.constant` |
logical; indicates whether the nearest neighbors used in calculations should be the nearest on a given day ( |

Daily outcrossed mating potential is a weighted average of an individual's distance to their nearest neighbors on a given day (Wagenius et al. 2007). The days to calculate OMP for should be input as integers relative to the first day of flowering, as they are in the start and end columns of a matingScene object. If the number of ids receptive on a day is less than k, OMP will be calculated for the maximum number of neighbors.

a named matrix with a row for each id and a column for each day, and entries corresponding to ids' OMP each day

Amy Waananen

Wagenius, S., E. Lonsdorf, and C. Neuhauser. 2007. Patch aging and the S-Allee effect: breeding system effects on the demographic response of plants to habitat fragmentation. *American Naturalist* **169**:383-397.

`makeScene`

, `proximity`

, `synchrony`

, `receptivityByDay`

1 2 3 4 |

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.