error_rate: Estimate the assignment error rate for known-origin tissue...

Description Usage Arguments Value Examples

View source: R/error_rate.R

Description

Function to estimate the proportion of individuals that are incorrectly assigned to their actual breeding origin

Usage

1
error_rate(summ, origin_cell, iso = TRUE)

Arguments

summ

Assignment results from either the iso_assign() or abun_assign() functions

origin_cell

Vector containing the true breeding cell for each individual

iso

Should area be estimated for the isotope-only assignment (default) or with abundance used a prior

Value

Error rate (i.e., the proportion of individuals that are miss classified)

Examples

1
error_rate(summ = woth_iso, origin.cell = woth_origin_cell)

crushing05/iso.assign2 documentation built on May 14, 2019, 12:06 p.m.