palate: 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.
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.
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.
# NOT RUN {# convert an EPG-compressed trackdata object to palatogramsp <- palate(coutts.epg)
# convert an EPG-compressed matrix to palatogramsp <- palate(dcut(coutts.epg, 0, prop=TRUE))
# }