Creates a fully crossed multidimensional array of artifacts and weights (with 1 to 4 dimensions of artifact values) for use in interactive artifact-distribution meta-analyses.
create_ad_array(ad_list, name_vec = NULL)
Data frame of all possible combinations of artifact values with the weight associated with each combination of artifacts.
List of artifact distribution tables (i.e., objects produced by the create_ad function).
Optional vector of artifact names that correspond to the tables in ad_list; if NULL, artifact names are taken from the names of list objects in ad_list.
#create_ad_array(ad_list = list(.create_ad_int(art_vec = c(.8, .8, .9),
# wt_vec = c(100, 200, 100), decimals = 2),
# .create_ad_int(art_vec = c(.8, .8, .9),
# wt_vec = c(100, 200, 100), decimals = 2)),
# name_vec = c("q_x", "q_y"))
#create_ad_array(ad_list = list(q_x = .create_ad_int(art_vec = c(.8, .8, .9),
# wt_vec = c(100, 200, 100), decimals = 2),
# q_y = .create_ad_int(art_vec = c(.8, .8, .9),
# wt_vec = c(100, 200, 100), decimals = 2)))
Run the code above in your browser using DataLab