Description Usage Arguments Details Value References See Also Examples
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
.
1 |
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
[1] https://www.ewi-psy.fu-berlin.de/einrichtungen/arbeitsbereiche/allgpsy/Download/BAWL/index.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.