Description Usage Arguments Value
View source: R/plot_coefficient_image.R
Plotting a coefficient image using ggplot
1 2 3 | plot_coefficient_image(im, title = NULL,
col = colorRampPalette(c("black", "white"))(100), barh = 12,
breaks = 5, round = 3)
|
im |
image given as matrix |
title |
String, title of the image, default is NULL (no title) |
col |
color palette of the image, default is color interplotaion from black to white |
barh |
numeric, only nedded to adjust the height of the legend bar |
breaks |
number, of breaks for the legend |
round |
integer, indicates, how many decimal digits are use in the legend |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.