Description Usage Arguments Details Value See Also Examples
Takes a data frame of word pairs/triples/..., each stored in multiple rows, and returns a data frame with the same words but each pair/triple/... stored in one row. WARNING: in the original data frame, entries from all languages must be in the same order.
1 |
data |
[data.frame] The dataset to be converted. |
col.lang |
[character] Name of the column with language names. Defaults to |
skip |
[character vector] Names of columns to not convert. Defaults to |
Data for soundcorrs
can be prepared in one of two formats: the 'long format' and the 'wide format'. In the 'long format', each row contains only a single word and metadata associated with it. In the 'wide format', each row contains the entire pair/triple/... of words, and all the metadata associated with them. The 'long format' is convenient for making sure that all the words in a pair/triple/... have the same number of segments, but it cannot be read directly by soundcorrs
. long2wide
and wide2long
convert between the two formats.
[data.frame] A data frame in the wide format (multiple entries per row).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.