Learn R Programming

netresponse (version 1.32.2)

plot_scale: plot_scale

Description

Plot the color scale used in visualization.

Usage

plot_scale(x, y, m = NULL, cex.axis = 1.5, label.step = 2,
  interval = 0.1, two.sided = TRUE, label.start = NULL, Nlab = 3, ...)

Arguments

x
Breakpoints for the plot_
y
Color palette.
m
Breakpoints' upper limit.
cex.axis
Axis scale.
label.step
Density of the labels.
interval
Interval.
two.sided
Plot two-sided (TRUE) or one-sided (FALSE) visualization.
label.start
Label starting point.
Nlab
Number of labels to plot_
...
Further arguments for plot function.

Value

  • Used for its side-effects.

References

See citation("netresponse")

Examples

Run this code
#
  #res <- detect.responses(D, netw, verbose = FALSE)
  #vis <- plot_responses(res, subnet.idx)
  #plot_scale(vis$breaks, vis$palette)

Run the code above in your browser using DataLab