create_datavyu_trial_data2: make from a cleaned DV file

View source: R/create_datavyu_trial_data.R

create_datavyu_trial_data2R Documentation

make from a cleaned DV file

Description

#' @param data a dataframe read in from a datavyu report CSV or txt

Usage

create_datavyu_trial_data2(data, write = F)

Arguments

write

if TRUE will save a csv in the current working directory

Value

A formatted dataframe with CP, SwitchRate, MLD and TLT, as well as coding

Examples

library(readr)
data <- read_csv("datavyudata.csv")
data_out <- create_datavyu_trial_data2(data, write = F)


samhforbes/DDLab documentation built on Sept. 17, 2023, 9:22 p.m.