palate: Obtain a three-dimensional palatographic array

palateR Documentation

Obtain a three-dimensional palatographic array

Description

Function to calculate a three-dimensional palatographic array from.

Usage

palate(epgdata)

Arguments

epgdata

An eight-columned EPG-compressed trackdata object or an eight columned matrix of EPG-compressed trackdata.

Details

An EPG compressed trackdata object that is output from the Reading system contains eight columns of data and each row value when converted to binary numbers (after adding 1) gives the corresponding EPG contact patterns. This function does the conversion to binary values.

Value

An array of three dimensions of 8 rows x 8 columns x n segments where n is the number of segments in the trackdata object or matrix. The rows and columns are given dimension names, the dimension names of the third dimension contains the times at which the palatograms occur.

Author(s)

Jonathan Harrington

See Also

epgcog epggs epgai epgplot

Examples


# convert an EPG-compressed trackdata object to palatograms
p <- palate(coutts.epg)

# convert an EPG-compressed matrix to palatograms
p <- palate(dcut(coutts.epg, 0, prop=TRUE))



emuR documentation built on Nov. 4, 2023, 1:06 a.m.