Description Usage Arguments Examples
Used when interactive is false and creates a plot through R of this data visualisation method.
1 | r_throwchart(before, after,xlim, ylim, col, lwd, offSet)
|
before |
[numeric] or [integer]: A (non-empty) vector of data values. |
after |
[numeric] or [integer]: A (non-empty) vector of data values. |
col |
[character]: A vector of hex code colours, by default "#123". |
lwd |
[integer]: Line width, a column of line widths, by default value is 2.5. |
xlim |
[numeric]: 2 value colum with x limits. |
ylim |
[numeric]: 2 value colum with y limits. |
offSet |
[integer]: Single value offset for the graph. |
1 2 3 | if(interactive()){
r_throwchart(tibble(c(1,2)),tibble(c(2,8)),c(0,0),c(0,0),col = "blue", c(1,5), offSet = 1)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.