Learn R Programming

emuR (version 2.4.0)

palate: Obtain a three-dimensional palatographic array

Description

Function to calculate a three-dimensional palatographic array from.

Usage

palate(epgdata)

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.

Arguments

epgdata

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

Author

Jonathan Harrington

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.

See Also

epgcog epggs epgai epgplot

Examples

Run this code

# 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))


Run the code above in your browser using DataLab