TextGrid-constructor: Create an instance of the TextGrid class.
Description
An S4 generic and S4 methods for creating a TextGrid
object.
Usage
TextGrid(textGrid, ...)
"TextGrid"(textGrid)
Arguments
textGrid
A character vector
...
optional arguments for multiple dispatch (in development).
Details for signature <code>c(textGrid = 'character')</code>
If textGrid
is a string (i.e., a character vector with
length(textGrid)=1
), then it is assumed that the textGrid
argument is the path to a .TextGrid
file. Otherwise, the
textGrid
argument is assumed to be a character vector whose
elements are the lines of some .TextGrid
file.