Description Usage Arguments Value Examples
View source: R/getConstCodeStratUtt.R
This function determines the ambiguity classes. These are determined by answering this question: What properties does target object share with other objects?
This allows you to group together the trials that have the same levels of ambiguity.
1 | getConstellationCode(objectConstellation, chosenFeature)
|
objectConstellation |
A vector of three values in range The target is the first object in the vector |
chosenFeature |
A value Example: utterance was "red", means chosen feature is color ( |
A list of three rows (length of the objectConstellation vector). Each row..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | getConstellationCode(objectConstellation, chosenFeature)
output:
[[1]]
[1] 1 1 3 2 3 2
[[2]]
[1] 1 2 3
[[3]]
[1] 1 2 3
To see which object are in the object constellation run:
allObjects[objecConstellation,]
output:
shape pattern color
[1,] "cloud" "solid" "blue"
[2,] "circle" "solid" "blue"
[3,] "square" "solid" "blue"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.