getSpeakerUtterancePriors: Get the speaker's utterances' priors

Description Usage Arguments Value Examples

View source: R/RSA_StratUtt.R

Description

Full-RSA

This function determines the prior utterance preferences of the speaker.

Usage

1
getSpeakerUtterancePriors(validUtterances)

Arguments

validUtterances

A vector of utterances that correspond to all feature values present in the current objects in the scene.

For example, it only makes sense to utter "red" in a scene if there are red objects present.

Value

A vector of priors as numeric values.

Examples

1
2
3
4
getSpeakerUtterancePriors(validUtterances)

output:
[1] 0.2 0.2 0.2 0.2 0.2

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