View source: R/plot_functions.R
plot_xpm_facet | R Documentation |
creates dual-panel visualizations of xpm data with scatter or area plots.
plot_xpm_facet(xpm_data, plot_type = "scatter")
xpm_data |
a xpm object (from |
plot_type |
visualization type: "scatter" (default) or "area". |
a ggplot2 object with:
Dual facets showing x/y axis relationships
Automatic data transformation for visualization
NULL if invalid plot_type specified
library(xvm)
xpm_file_path <- system.file("extdata/gibbs.xpm", package = "xvm")
xpm_data <- read_xpm(xpm_file_path)
plot_xpm_facet(xpm_data) # plot pseudo-3D from xpm file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.