Description Usage Arguments Value Examples
View source: R/demonanalysis.R
Plot a grid from a properly formatted data frame.
1 2 |
image_df |
data frame formatted by image_df_from_grid_file |
palette |
colour palette (default NA) |
discrete |
whether to use a discrete or continuous colour scale (default FALSE) |
add_legend |
whether to add a legend (default FALSE) |
legend_title |
text for legend title (default none) |
a plot object
1 2 3 | image_df <- image_df_from_grid_file(system.file("extdata",
"output_passengersgrid.dat", package = "demonanalysis", mustWork = TRUE))
grid_plot(image_df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.