Revision 8382f8c6742d3196ea5283217a07f60e279bbe37 authored by morgankain on 26 April 2021, 21:58:10 UTC, committed by morgankain on 26 April 2021, 21:58:10 UTC
1 parent 303c036
model_complexity_setup.R
if (one_off & !all_permuted) {
## sequence of increasing model complexity
model.runs <- data.frame(
use.host_abundance = c(FALSE, TRUE, TRUE, TRUE, TRUE, TRUE)
, use.mosq_abundance = c(TRUE, FALSE, TRUE, TRUE, TRUE, TRUE)
, use.mosq_survival = c(TRUE, TRUE, FALSE, TRUE, TRUE, TRUE)
, use.mosq_bite_pref = c(TRUE, TRUE, TRUE, FALSE, TRUE, TRUE)
, use.host_seroprev = c(TRUE, TRUE, TRUE, TRUE, FALSE, TRUE)
)
use.cond_titer <- TRUE
} else if (all_permuted & !one_off) {
## Check the host ranks when a given component is set to true
model.runs <- expand.grid(
use.host_abundance = c(TRUE, FALSE)
, use.mosq_abundance = c(TRUE, FALSE)
, use.mosq_survival = c(TRUE, FALSE)
, use.mosq_bite_pref = c(TRUE, FALSE)
, use.host_seroprev = c(TRUE, FALSE)
)
use.cond_titer <- TRUE
} else {
model.runs <- data.frame(
use.host_abundance = use.host_abundance
, use.mosq_abundance = use.mosq_abundance
, use.mosq_survival = use.mosq_survival
, use.mosq_bite_pref = use.mosq_bite_pref
, use.host_seroprev = use.host_seroprev
)
use.cond_titer <- TRUE
}
Computing file changes ...