Description Usage Arguments Value Examples
Builds chords ngrams for a chord datdaset.
1 | chords_ngram(data, n = 2)
|
data |
dataframe. The chords dataset to exract the features from. |
n |
numeric. The number of grams. The default is 2 (bigram). |
A chords dataset added with the chords ngram.
1 2 3 4 5 6 7 | {
songs <- chorrrds::get_songs("tim-maia")
chords <- get_chords(songs$url[4])
chords_ngram(chords)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.