Determine the data location
loc.Rd
A helper function for the read
and write
functions that returns the
directory path based on the subject
ID.
Value
A character
value that is the directory path for the subject
of
interest. If subject
starts with a
1
then the start of the directory path will be./DATA_Iowa_activPAL
,5
then the start of the directory path will be./DATA_Pitt_activPAL
, or8
then the start of the directory path will be./DATA_WVU_activPAL
.
Details
This function is meant to work within the read_events()
and
write_events()
functions based on no errors being produced by
check_dir()
.