Description Usage Arguments Value Author(s) References See Also

View source: R/connectivity_estimation.distributions.R

This function returns the probability each of a set of observations corresponds to a marked individual given the distribution of scores for unmarked and marked individuals and the fraction of individuals that are marked.

1 | ```
prob.marked(obs, d.unmarked, d.marked, phi = 0.5, p = 1)
``` |

`obs` |
A vector of score values for a random sample of (marked and unmarked) individuals from the population |

`d.unmarked` |
A function representing the PDF of unmarked individuals. Must be normalized so that it integrates to 1 for the function to work properly. |

`d.marked` |
A function representing the PDF of marked individuals. Must be normalized so that it integrates to 1 for the function to work properly. |

`phi` |
The fraction of settlers at the destination population that originated at the source population. Defaults to 0.5, which would correspond to an even sample of marked and unmarked individuals. |

`p` |
Fraction of individuals (i.e., eggs) marked in the source population. Defaults to 1. |

A vector of the same size as `obs`

containing the probability
that each individual is marked

David M. Kaplan dmkaplan2000@gmail.com

Kaplan DM, Cuif M, Fauvelot C, Vigliola L, Nguyen-Huu T, Tiavouane J and Lett C (in press) Uncertainty in empirical estimates of marine larval connectivity. ICES Journal of Marine Science. doi:10.1093/icesjms/fsw182.

See also `d.rel.conn.dists.func`

,
`optim.rel.conn.dists`

.

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.