FemFit_mergeCSVs: Merge sessions in an FemFit dataset

Description Usage Arguments Details Value See Also Examples

Description

Processes an FemFit dataset to merge sessions.

Usage

1
FemFit_mergeCSVs(x, whichSession = "")

Arguments

x

An "FemFit" object.

whichSession

A character vector of session identifiers. Defaults to merging all sessions.

Details

Merges all of the valid comma separated value file(s). The resulting session identifier is determined by alphabetical order.

Value

Returns the processed "FemFit" object.

See Also

read_FemFit

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
AS013 = read_FemFit(c(
        "Datasets_AukRepeat/dee8fc3fdcfccb27_640_csv.zip",
        "Datasets_AukRepeat/dee8fc3fdcfccb27_641_csv.zip"
    ))

# Extract the unique sessionIDs
sessionIDs = unique(AS013$df$sessionID)

print(sessionIDs)
# The output is: [1] "640 19:43" "641 20:04" "641 20:08"

# More sensible to merge the latter two sessions together rather than the first two
AS013 = FemFit_mergeCSVs(AS013, sessionIDs[2:3])

TheGreatGospel/IVPSA documentation built on May 19, 2019, 1:47 a.m.