Preparing MAGMA input data
Usage
magmatize_data(
wd,
age_classes = "all",
fishery = NULL,
loci_names = NULL,
save_data = TRUE
)Arguments
- wd
Directory where you set up the data folder.
- age_classes
Hard code class categories for group ages.
- fishery
Name of the fishery. It is optional to declare the fishery name here.
fisherycan be included withmixture.RDatain the data folder.- loci_names
Optional. String containing loci names.
- save_data
Logical (with default =
TRUE). Option to save the data in the data folder.
Examples
if (FALSE) { # \dontrun{
wd <- getwd() # path to data folder
magma_data <- magmatize_data(wd = wd, save_data = FALSE)
} # }
