Learn R Programming

soundcorrs (version 0.1.1)

tableOne: Build a contingency table counting either occurrences or words.

Description

Make a table out of one list.

Usage

tableOne(rows, unit)

Arguments

rows

[list] The list that will become both rows and cols, divided into words.

unit

[character] Count occurrences or words? Accepted values are "o(cc(urence(s))))" and "w(or(d(s)))".

Value

[table] The contingency table.

Examples

Run this code
# NOT RUN {
dataset <- sampleSoundCorrsData.abc
soundcorrs:::tableOne (dataset$segms[[1]]$z, "o")
# }

Run the code above in your browser using DataLab