View source: R/LP_test_equal_mf.R
LP_test_equal_mf | R Documentation |
This function takes the capture histories and stratification variable and computes the test for equal marked fractions.
LP_test_equal_mf(data, strat_var, do.fisher.test = FALSE)
data |
Data frame containing the variables:
plus any other covariates (e.g. discrete strata and/or continuous covariates) to be used in the model fitting. |
strat_var |
Variable in the dataframe that serves as a stratification variable for contingency table tests of equal marked fraction or equal recapture probability |
do.fisher.test |
Do a fisher test? |
List containing the contingency table and the chi-square test and fisher-exact test
data(data_NorthernPike)
LP_test_equal_mf(data_NorthernPike, "Sex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.