add_line_unity: add unity line

Description Usage Arguments

View source: R/add_line_unity.R

Description

adds a unity line to plotly object

Usage

1
2
3
4
5
6
7
8
add_line_unity(
  p,
  data = NULL,
  color = "black",
  width = 0.5,
  dash = "solid",
  opacity = 0.5
)

Arguments

p

a plotly object

data

the data object used to draw the plotly object. By default, the function will look for the data object within the plotly object.

color

color of line

width

width of line

dash

dashed or solid?

opacity

opacity of line.


frhl/genoppi-v4 documentation built on May 5, 2020, 7:16 a.m.