Creates a gradient of colors ranging from light Penn blue (Penn blue with increased Value in HSV) to Penn blue, to Penn red, to light Penn yellow. It is best to provide an odd number, so that there is always an equal number of colors on either side of the midpoint, which will be Penn blue. For example, if you want a gradient from -1 to 1 or equivalent, an n = 11, will give 5 colors on either side of 0, each representing a 20
penn.heat(n = 11, space = "Lab", demo = FALSE, colorbar = FALSE,
bar.min = -1, bar.mid = 0, bar.max = 1, cex = 1.2,
filename = NULL, col.text = "black")
Integer. How many distinct colors you want. Defaults to 11
String. Which colorspace to use. Option: "RGB", "Lab". Defaults to "Lab
Logical. Plot the colors horizontally
Logical. Create a vertical colorbar
Numeric. Lowest value in colorbar
Numeric. Middle value in colorbar
Numeric. Max value in colorbar
Optional. Path to file to save colorbar
Color for colorbar text