jthomasmock / gtExtras

A Collection of Helper Functions for the gt Package.
https://jthomasmock.github.io/gtExtras/
Other
195 stars 27 forks source link

Allow "colours" in gt_plt_winloss #29

Closed KittJonathan closed 2 years ago

KittJonathan commented 2 years ago

Hi ! Would it be possible to allow for "colours" argument, as in gt_plt_winloss(colours = c()) ?

jthomasmock commented 2 years ago

Hi there! Going to spend some time over the break revamping and increasing consistency across the various functions - thanks for the suggestion.

jthomasmock commented 2 years ago

Hi @KittJonathan - can you clarify your needs here?

gt_plt_winloss() has a colors argument, which accepts the colors for the "win", "loss", "tie".

https://jthomasmock.github.io/gtExtras/reference/gt_plt_winloss.html

colors | A character vector of length 3, specifying the colors for win, loss, tie in that exact order.

KittJonathan commented 2 years ago

Hi @jthomasmock, I was thinking about the "american" and "british" versions : coulors and colours