read.dat: Read .dat files for a MR-SAT experiment

Description Usage Arguments Details Value

Description

A function to read a file with .dat extension which is originally used to store lags, dprimes, and condition obtained/calculated from an output of a MR-SAT experiment via C program (MRsat-datacrunch.c).

Usage

1
read.dat(file, quiet = TRUE)

Arguments

file

the name of the dat file from which the data are to be read.

quiet

logical. If FALSE, internally used function scan() will print how many items have been read per line.

Details

The .dat file should be in a specific format, as follows: First line should contain a number representing data points to be scanned (a). Then, (the number of data points per condition)-by-(the number of condition) matrix for "lags", "dprimes", and "condition" should follow.

Value

A data frame containing "lags", "dprimes", and "condition".


matsukik/mrsat documentation built on May 21, 2019, 12:57 p.m.