Description Usage Arguments Details Value Examples
Reduce a soundcorrs
object to just those word pairs/triples/... which meet a certain condition.
1 2 |
x |
[soundcorrs] The dataset to be subsetted. |
condition |
[logical] The condition the subsetted data must meet. |
... |
Unused; only for consistency with |
Once a data frame is enclosed in a soundcorrs
object, it is recommended that it not be manually altered in any way. subset.soundcorrs
provides a safe way of subsetting it.
[soundcorrs] A soundcorrs object containing the subsetted dataset.
1 2 3 4 5 6 7 | # In the examples below, non-ASCII characters had to be escaped for technical reasons.
# In actual usage, all soundcorrs functions accept characters from beyond ASCII.
dataset <- loadSampleDataset ("data-capitals")
subset (dataset, OFFICIAL.LANGUAGE=="German")
subset (dataset, grepl("German",OFFICIAL.LANGUAGE))
subset (dataset, findExamples(dataset, "\u00E4", "e", "")$which) # a-diaeresis
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.