TPMplt (version 0.1.0)

lyIDdetector: Detecting locations for Strain and Stress

Description

Function for detecting the locations for Strain and Stress in data frame. It is an key component for automatic completion in the function of epsExtract.

Usage

lyIDdetector(data, patterns = "[Ss][Tt][Rr]")

Arguments

data

A data frame with VBTree style. Pay attention, all factors in column names should be separated by "-" symbol, and factors for temperatures and strain rates should be saved in pure numeric style.

patterns

A regex object to determine layer of Strain and Stress. The default pattern uses "[Ss][Tt][Rr]".

Value

A list consisted of the layer, and the levels in this layer for Strain and Stress respectively.

See Also

VBTree, TPMplt

Examples

Run this code
# NOT RUN {
require(VBTree)
chrvec2dl(colnames(TPMdata))
lyIDdetector(TPMdata)
# }

Run the code above in your browser using DataCamp Workspace