Learn R Programming

SemNetCleaner (version 1.0.0)

bin2resp: Binary Responses to Character Responses

Description

Converts the binary response matrix into characters for each participant

Usage

bin2resp(rmat, to.data.frame = FALSE)

Arguments

rmat

Binary matrix. A binarized response matrix of verbal fluency or linguistic data

to.data.frame

Boolean. Should output be a data frame where participants are columns? Defaults to FALSE. Set to TRUE to convert output to data frame

Value

A list containing objects for each participant and their responses

Examples

Run this code
# NOT RUN {
charmat <- bin2resp(convmat)

# }

Run the code above in your browser using DataLab