resp2bin | R Documentation |
Converts the response matrix to binary response matrix
resp2bin(resp)
resp |
Response matrix. A response matrix of verbal fluency or linguistic data |
A list containing objects for each participant and their responses
Alexander Christensen <alexpaulchristensen@gmail.com>
# Toy example
raw <- open.animals[c(1:10),-c(1:3)]
if(interactive())
{
# Clean and prepocess data
clean <- textcleaner(open.animals[,-c(1:2)], partBY = "row", dictionary = "animals")
# Change response matrix to binary response matrix
binmat <- resp2bin(clean$responses$corrected)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.