QA/QC: Check for errors in B0 (vector of abundances after breeding habiatat acquisition)

error_check_B0(B0, W2, check.errors.in, i, ...)

Arguments

B0

5 x 1 vector representing population state after breeding habitat acqusitions

W2

4 x 1 vectir representing populati state after northward spring migration

check.errors.in

vector of model components to check for errors during a given run

i

Current iteration of runFAC()

...

additional parameters

Examples

B0 <- c(10,20,30,40,50)
W2 <- c(10,20,30,40)
error_check_B0(B0 = B0,
W2 = W2,
check.errors.in = "B0",
i = 1)
#> Element of B0 does not equal an element of W2 on iteration 1
#> Element of B0 does not equal an element of W2 on iteration 1-males
#> Element of B0 does not equal an element of W2 on iteration 1-females