Import BAWL-R data
Read the Berlin Affective Word List – Reloaded (V\"o, Conrad, Kuchinke, Hartfeld,
Hofmann & Jacobs, 2009; [1]) into a valid object of class
kRp.corp.freq
.
read.BAWL(csv, fileEncoding = NULL)
csv |
A character string, path to the BAWL-R in CSV2 format. |
fileEncoding |
A character string naming the encoding of the file, if necessary. |
To use this function, you must first export the BAWL-R list into CSV format: Use comma for decimal values and semicolon as value separator (often referred to as CSV2). Once you have successfully imported the word list, you can use the object to perform frequency analysis.
An object of class kRp.corp.freq
.
V\"o, M. L.-H., Conrad, M., Kuchinke, L., Hartfeld, K., Hofmann, M.F. & Jacobs, A.M. (2009). The Berlin Affective Word List Reloaded (BAWL-R). Behavior Research Methods, 41(2), 534–538. doi: 10.3758/BRM.41.2.534
## Not run: bawl.corp <- read.BAWL( file.path("~","mydata","valence","BAWL-R.csv") ) # you can now use query() now to create subsets of the word list, # e.g., only nound with 5 letters and an valence rating of >= 1 bawl.stimulus <- query(bawl.corp, query=list( list(wclass="noun"), list(lttr=5), list("EMO_MEAN"=1, rel="ge") ) ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.