Description Usage Arguments Details
View source: R/marginalize_SD.r
This function requires first running SCOBI_deux
with writeBoot = TRUE
.
An example use is for marginalizing the PBTGroup variable to estimate PBT-derived categories such as PBT-age.
1 2 3 4 5 6 | marginalize_SD(
estimatesFile = NA,
bootHier = NA,
marginalize = "GenParentHatchery",
alph = 0.1
)
|
estimatesFile |
is the Scobi-Deux output "Estim_Totals" or "Estim_Grand_Totals" file that you want to marginalize over. |
bootHier |
is the "Boot_Hier" file for the corresponding variable in your "Estim_Grand_Totals" file. Note that use of this option requires that you feed the program the "Estim_Grand_Totals" file, not the "Estim_Totals" file |
marginalize |
is the name of the variable(s) you want to marginalize over. This shoudl be a character vector and can have one or multiple values. |
alph |
This is the alpha value to use for confidence intervals. So, an alph of .05 will give a 95% CI, with quantiles at .025 and .975. |
description2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.