| BayesPrefClass {prefeR} | R Documentation |
An object containing all data necessary for preference elicitation.
Description
An object containing all data necessary for preference elicitation.
Fields
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.
Methods
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
[Package prefeR version 0.1.3 Index]