View source: R/create_ad_wrappers.R
create_ad_array | R Documentation |
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)
ad_list |
List of artifact distribution tables (i.e., objects produced by the create_ad function). |
name_vec |
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. |
Data frame of all possible combinations of artifact values with the weight associated with each combination of artifacts.
#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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.