dim.trackdata {emuR} | R Documentation |
A method of the generic function dim for objects of class 'trackdata'
Description
The function returns the dimension attributes of a track data object.
Usage
## S3 method for class 'trackdata'
dim(x)
Arguments
x |
a track data object |
Details
The function returns the dimension attributes of a track data object as the number of segments x number of tracks. c(nrow(x$index), ncol(x$data))
Author(s)
Jonathan Harrington
Examples
#isol.fdat is the formant track of the segment list isol
#write out the dimension of the track data object
dim(isol.fdat)
#because there are 13 segments
isol.fdat$ftime
#and there are 4 rows for each segment (see here for the first segment)
isol.fdat$data[1,]
[Package emuR version 2.5.0 Index]