r_throwchart: ~ R graphics function: r_throwchart ~

Description Usage Arguments Examples

View source: R/r_throwchart.R

Description

Used when interactive is false and creates a plot through R of this data visualisation method.

Usage

1
r_throwchart(before, after,xlim, ylim, col, lwd, offSet)

Arguments

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.

Examples

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)
 }

DataViz documentation built on Sept. 17, 2019, 1:02 a.m.