chords_ngram: chords_ngram

Description Usage Arguments Value Examples

View source: R/chords_ngram.R

Description

Builds chords ngrams for a chord datdaset.

Usage

1

Arguments

data

dataframe. The chords dataset to exract the features from.

n

numeric. The number of grams. The default is 2 (bigram).

Value

A chords dataset added with the chords ngram.

Examples

1
2
3
4
5
6
7
{

  songs <- chorrrds::get_songs("tim-maia")
  chords <- get_chords(songs$url[4])
  chords_ngram(chords)

}

chorrrds documentation built on July 2, 2020, 2:24 a.m.