learnLegacy: Count cue-outcome co-occurrences needed to run the Danks...

Description Usage Arguments Details Value Acknowledgements Note Author(s) References See Also Examples

Description

An internal function to count cue-outcome co-occurrences.

Usage

1
learnLegacy(DFin,RemoveDuplicates,verbose)

Arguments

DFin

A dataframe, as defined in the documentation for estimateWeights.

RemoveDuplicates

A logical specifying whether multiple occurrences of a Cue in conjunction with an Outcome shall each be counted as a distinct occurrence of that Cue (FALSE), or only as a single occurrence (TRUE: default).

verbose

Display diagnostic messages or not.

Details

This function calls an Rcpp function of the same name to process the data in the DFin data frame.

Value

A list of two matrices with cue-cue co-occurrences and cue-outcome co-occurrences.

Acknowledgements

Thanks to all the testers out there! Martijn, you know who you are.

Note

No temporary files are used.

Author(s)

Cyrus Shaoul

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.

See Also

estimateActivations, ndlCuesOutcomes, estimateWeights, danks, plurals, serbian

Examples

1
#None (internal function)

ndl documentation built on May 2, 2019, 10:28 a.m.