tsdify: Creates TSD folder names for MRI data location, or project...

View source: R/tsdify.R

tsdifyR Documentation

Creates TSD folder names for MRI data location, or project wave from TSD folder names

Description

tsdify is a function to use to either figure out what the TSD folder location of MRI data is, or to figure out the project wave from TSD folder names.

Usage

tsdify(data, reverse = F)

Arguments

data

The MOAS or a MOAS generated file.

reverse

logical. If FALSE (default) creates TSD folder strings. If TRUE, finds project wave number from Folder information.

Value

either an string vector of folder names (default), or a vector of integers

Examples

## Not run: 
 tsdify(data)
 tsdify(data, reverse=TRUE)

## End(Not run)

LCBC-UiO/MOAS documentation built on Aug. 28, 2023, 3:29 a.m.