get.datasets: Extracts the data and models from the ddf objects

Description Usage Arguments Value Note Author(s)

View source: R/get.datasets.R

Description

Compiles a list of unique model combinations, which are stored as character vectors within the list. The associated data for the models in each of the elements of this list are also obtained (these will only be one per set of models as each model group must use the same data). It also constructs a look up table in the from of a named character vector to relate species code to models as these have now been reduced to unique model combinations only.

Usage

1
get.datasets(model.names, ddf.models)

Arguments

model.names

a list of character vectors of model names with the elements named by species code

ddf.models

a list of the ddf models named in model.names

Value

list with the following elements: unique.model.names - a list of unique model combinations ddf.dat.master - a list of dataframes containing the data used to fit the unique models combinations defined in unique.model.names model.index - named character vector indicating which model is to be used for each species.

Note

Internal function not intended to be called by user.

Author(s)

Laura Marshall


mads documentation built on July 2, 2020, 2:12 a.m.