TPMplt (version 0.1.0)

API4TMZ: Read multiple files exported from Thermec Master-Z tester

Description

Read data from multiple files with structurized file names, then generate a summary table. It will also be available for the files from other tester apparatus by correct setting.

Usage

API4TMZ(Cdl, wd = getwd(), ftype = ".csv", Straincln = 7,
  Stresscln = 8, startrow = 29)

Arguments

Cdl

An handmade double list to determine selected conditions.

wd

Work directory. Default setting is getwd().

ftype

File type to be read. Defaust setting is ".csv".

Straincln

An integer to specify column for Strain in your data. Default value is 7 means the 7th column contains strain data, in the files exported from Thermec Master-Z tester.

Stresscln

An integer to specify column for Strain in your data. Default value is 8 means the 8th column contains stress data, in the files exported from Thermec Master-Z tester.

startrow

An integer to ignore the prefix rows for testing conditions. Default value is 29.

Value

A matrix-like summary table for all input files.

Examples

Run this code
# NOT RUN {
variable1 <- c("factor11", "factor12", "factor13")
variable2 <- c("factor21", "factor22")
variable3 <- c("factor31", "factor32", "factor33", "factor34")
conditions <- list(variable1, variable2, variable3)
SummaryTable <- API4TMZ(conditions, "/Your_Directory_for_data/")
SummaryTable
# }

Run the code above in your browser using DataLab