| BayesPrefClass | R Documentation |
An object containing all data necessary for preference elicitation.
dataA matrix or dataframe of data.
priorsA list of functions that give the prior on each variable.
sigmaA scalar value to use for the confusion factor (default 0.1).
Sigma(Internal use only) A matrix of sigma * diag(ncol(data)).
strictA list of lists of preferences. For each element x, x[[1]] > x[[2]].
indifA list of lists of indifference preferences. For each element x, x[[1]] = x[[2]].
weightsA vector of weights determined by the inference algorithm.
addPref(x)Adds a preference created using %>%, %<%, or %=%.
infer(estimate = "recommended")Calls the “infer” function to guess weights
rank()Calculates the utility of each row in our dataset
suggest(maxComparisons = 10)Calls the “suggest” function to guess weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.