Learn R Programming

soundcorrs (version 0.4.0)

cbind.soundcorrs: Attach one or more columns to a soundcorrs object.

Description

Attach one or more columns to a soundcorrs object. Note that sound correspondences attached with this function will not be usable as such.

Usage

# S3 method for soundcorrs
cbind(data, ...)

Arguments

data

[soundcorrs] The soundcorrs object.

...

Objects to be attached.

Value

[soundcorrs] The original soundcorrs object with the columns attached.

Details

Once a data frame is enclosed in a soundcorrs object, it is recommended that it not be manually altered in any way. cbind.soundcorrs provides a safe way of adding a column to it.

Examples

Run this code
# NOT RUN {
dataset <- loadSampleDataset ("data-ie")
cbind (dataset, ID=1:nrow(dataset$data))
cbind (dataset, FAMILY="Indo-European")
# }

Run the code above in your browser using DataLab