getPreferencesPrior: Get prior preferences of the listener

Description Usage Arguments Value Examples

View source: R/SRSA_StratUtt.R

Description

Simple RSA

Usage

1
getPreferencesPrior(targetFeature)

Arguments

targetFeature

A value between 1 and 3, specifying which feature type- color, shape, or pattern- is considered (for preferences).

Value

A vector of length 9. It contains a uniform prior over the three features of the specified feature type and zeros for the other feature values.

Examples

1
2
3
4
5
6
7
getPreferencesPrior(targetFeature)

output:
[1] 0.33 0.33 0.33 0.00 0.00 0.00 0.00 0.00 0.00

 @details
 This function is used in X9.

haniaelkersh/rsa-publish-test documentation built on Jan. 31, 2021, 2:02 a.m.