Description Usage Arguments Value Examples
View source: R/collapse_date.R
Takes a table of word counts (produced by extract_commits and then modified by add_word_counts_table) and collapses the word counts by date.
1 | collapse_date(commit.table, range = c(-4000, 10000))
|
commit.table |
Data.frame of commits (e.g. produced by drop_interday). |
range |
Numeric vector of two elements that specifies the upper/lower bounds of word counts. Anything outside this range is considered an outlier and is dropped. |
A data.frame containing dates and the corresponding counts for new words, deleted words, and net additions.
1 2 3 | a <- extract_commits(repo="~/repositories/project/")
a <- add_word_counts_table(a,repo="~/repositories/project/")
b <- collapse_date(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.