Skip to contents

Creates a new Table object with specified dimensions.

Usage

table_create(numberOfRows, numberOfColumns = NULL, columnNames = NULL)

Arguments

numberOfRows

Number of rows

numberOfColumns

Number of columns (optional if columnNames provided)

columnNames

Character vector of column names (optional)

Value

A Table object

See also

Table for object methods

Examples

tbl <- table_create(numberOfRows = 3, columnNames = c("speaker", "f0"))
tbl2 <- table_create(numberOfRows = 3, numberOfColumns = 2)