load_source_data: Load source data

Description Usage Arguments Details Value See Also

View source: R/load_source_data.R

Description

load_source_data specifies the source data structure (factors, concentration dependence, data type) and loads the source data file. Sources are sorted alphabetically.

Usage

1
load_source_data(filename, source_factors = NULL, conc_dep, data_type, mix)

Arguments

filename

character, csv file with the source data.

source_factors

character, column heading in 'filename' that matches a Fixed or Random Effect from the mixture data (mix$factors). Only used if you have source data by a factor (e.g. "Region"), otherwise NULL.

conc_dep

T/F, TRUE indicates you have concentration dependence data in 'filename'.

data_type

"raw" or "means". "Raw" source data are repeated source biotracer measurements, "means" data are source biotracer values as means, SDs, and sample size. See manual for formatting.

mix

list, output from load_mix_data.

Details

WARNING messages check for:

Value

source, a list including:

See Also

load_mix_data and load_discr_data


brianstock/MixSIAR documentation built on Oct. 23, 2020, 4:48 a.m.