get_example_ambiguous_condition: Get example ambiguous condition

View source: R/tests.R

get_example_ambiguous_conditionR Documentation

Get example ambiguous condition

Description

This function creates an example condition with two trials, and two word-object pairs per trial. Each word-object pair appears only once, and thus each word has a 50% chance of being associated with the correct referent. The function returns a list of the trials with nested words and objs per trial, as well as a vector of the conditional probability of correctly selecting the correct referent given each word.

Usage

get_example_ambiguous_condition()

Value

A list of trials (with nested words and objects per trial) and perf (P(correct referent | word))


kachergis/XSLmodels documentation built on Feb. 25, 2024, 10:43 p.m.