likelihood_helper_funs: Gadget likelihood helper functions

Description Usage Arguments Value

Description

These functions are just helper functions that are used in the various gadget_likelihood_comps functions. They are simply for automation purposes to make things cleaner. These are Russian doll functions that have helper functions within helper functions. This might make debugging painful in the future; if this is future-you, then don't do this sort of thing again. If this is another reader...I'm sorry.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_aggfile_attribute(agg_type, env = parent.frame(), path = NULL)

format_datafile_attribute(env = parent.frame(), path = NULL)

format_aggfile_attributes(comp, ..., path = NULL)

format_lik_comp(comp, ...)

check_lik_data(comp, data_cols, lik_type)

check_lik_names(comp, lik_type)

check_aggfiles(comp, ...)

make_default_aggfile(comp, agg_type)

check_datafile(comp)

aggregate_data(comp)

lik_agg_filename(..., aggfile_dir = "Aggfiles", path = NULL)

lik_data_filename(..., datafile_dir = "Data", path = NULL)

Arguments

...

There are a number of different arguments used in these various functions, and each depends on the function and what it is being used for. See the source code for the gadget_likelihood_comps function of interest to see what it does.

Value

Depends on the function


inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.