ch.valuesBootstrapOverlaps | R Documentation |
This function calculate the overlaps of the values data using a bootstrap.
ch.valuesBootstrapOverlaps(
data,
valuesCol,
promptCol,
params,
allItems = T,
multicore = F,
combFun = ch.maxAveComb,
...
)
data |
the values dataframe. |
valuesCol |
a string that specifies the name of the column in "data" that contains the participant's estimate of value for the item in each trial. |
promptCol |
a string that specifies the name of the column in "data" that contains the prompt for each trial. |
params |
a list of parameters that are read in using "ch.readValuesDBfile.r." |
allItems |
a boolean to state whether all the items are to be bootsrapped. If FALSE, then the "itemSetDataFile" in the params list must contain a subset of items to be bootstrapped. DEFAULT = TRUE. |
multicore |
a boolean to specifies whether to run the analysis in multicore mode. DEFAULT = FALSE. |
combFun |
If there are multiple items contributing to a single distribution, this function describes how the values will be combined across items in both the X and Y distributions. The function must combine elements of a list that might be of different different lengths. The default just flattens the list into one large vector. DEFAULT = ch.maxAveComb (with probMax = 0.5) |
a dataframe of the overlaps by probe combination. It also writes the data to the file (bootstrapOutdataFile) specified in params.
ch.valuesBootstrapOverlaps (data=valuesData, "tValues", "prompt", params=parameters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.