Learn R Programming

SemNetCleaner (version 1.3.4)

convert2snafu: Pathfinder Network

Description

Estimates a pathfinder network using the MST-Pathfinder Network method from Quirin et al. (2008; see also Schvaneveldt, 1990)

Usage

convert2snafu(..., category)

Arguments

...

Matrix or data frame. A clean response matrices

category

Character. Category of verbal fluency data

Value

A .csv file formatted for SNAFU

Details

The format of the file has 7 columns:

  • idDefaults to the row names of the inputted data

  • listnumThe list number for the fluency category. Defaults to 0. Future implementations will allow more lists

  • categoryThe verbal fluency category that is input into the category argument

  • itemThe verbal fluency responses for every participant

  • RTResponse time. Currently not implemented. Defaults to 0

  • RTstartStart of response time. Currently not implemented. Defaults to 0

  • groupNames of groups. Defaults to the names of the objects input into the function (...)

References

# For SNAFU, see: Zemla, J. C., Cao, K., Mueller, K. D., & Austerweil, J. L. (2020). SNAFU: The Semantic Network and Fluency Utility. Behavior Research Methods, 1-19. https://doi.org/10.3758/s13428-019-01343-w

Examples

Run this code
# NOT RUN {
# Convert data to SNAFU
if(interactive())
{convert2snafu(open.clean, category = "animals")}

# }

Run the code above in your browser using DataLab