Read in a specified data file.
read_data(
main = ".",
data_name = NULL,
dataset = "all_total",
datasets = prefab_count_datasets(),
settings = directory_settings()
)
read_counts(main = ".", dataset = "all_total", settings = directory_settings())
read_covariates(
main = ".",
dataset = "all_water",
settings = directory_settings()
)
character
value of the name of the main component of the directory tree.
character
representation of the data needed. Current options include "counts"
and "covariates"
.
character
representation of the grouping name(s) used to define the data. dataset
can only be length 1, datasets
is not restricted in length.
list
of controls for the directory, with defaults set in directory_settings
that should generally not need to be altered.
Data requested.