Learn R Programming

ndl (version 0.2.18)

plurals: Artificial data set used to illustrate the Rescorla-Wagner equations and naive discriminative learning.

Description

Data set with 10 English words of different (ad hoc) frequencies, each with a lexical meaning and a grammatical meaning.

Usage

data(plurals)

Arguments

Format

A data frame with 10 observations on the following 3 variables:

WordForm

A character vector of word forms (cues).

Frequency

A numeric vector of frequencies.

Outcomes

A character vector of meanings (outcomes). Meanings are separated by underscores. The NIL meaning is ignored.

References

Baayen, R. H. and Milin, P. and Filipovic Durdevic, D. and Hendrix, P. and Marelli, M., An amorphous model for morphological processing in visual comprehension based on naive discriminative learning. Psychological Review, 118, 438-482.

Examples

Run this code
# NOT RUN {
data(plurals)
plurals$Cues <- orthoCoding(plurals$WordForm, grams=1)
estimateWeights(cuesOutcomes=plurals)
# }

Run the code above in your browser using DataLab