TextGrid-constructor {textgRid}R Documentation

Create an instance of the TextGrid class.

Description

An S4 generic and S4 methods for creating a TextGrid object.

Usage

TextGrid(textGrid, ...)

## S4 method for signature 'character'
TextGrid(textGrid)

Arguments

textGrid

A character vector

...

optional arguments for multiple dispatch (in development).

Value

A TextGrid object.

Details for signature c(textGrid = 'character')

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.

See Also

TextGrid-class, TextGrid-accessors


[Package textgRid version 1.0.1 Index]