plot-methods: Plot contributions over time

Description Usage Arguments Value

Description

Plot contributions over time

Usage

1
2
3
## S4 method for signature 'git_repository'
plot(x, breaks = c("month", "year", "quarter",
  "week", "day"), by = c("commits", "author"), title = "Commits")

Arguments

x

The repository to plot

breaks

Default is month. Change to year, quarter, week or day as necessary.

by

Contributions by "commits" or "author". Default is "commits".

title

Default title for the plot is "Commits on repo:" and repository workdir basename. Supply a new title if you desire one.

Value

A ggplot chart


ropensci/ggit documentation built on May 27, 2019, 4:30 p.m.