color.bar: Color Bar

Description Usage Arguments Value

Description

This function creates a customized color bar optimized to be used in network_display.R

Usage

1
2
color.bar(lut, min, max = -min, nticks = 5, ticks = seq(min, max, len
  = nticks), title = "")

Arguments

lut

This is a hue range that will be used to display the same color gradient used to fill in the nodes in the network display

min

This is an integer representing the starting point of the labled color gradient. It is also used for scaling purposes when setting the dimentions of the color bar

max

This is an integer representing the ending point of the labled color gradient. It is also used for scaling purposes when setting the dimentions of the color bar

nticks

This is the number of tick marks the user would like to be displayed across the color bar

ticks

This is a sequence with a length of 'nticks' which ranges from min to max evenly spaced

title

This is the title that is desired to be displayed based on what data parameters were inputted

Value

A horizontal color bar representative of the inputted data


kg737/INDEED_Patch documentation built on May 22, 2019, 6:32 p.m.