ggi {ggfacto} | R Documentation |
Pass a MCA plot into a html interactive plot
Description
Pass a MCA plot into a html interactive plot
Usage
ggi(
plot = ggplot2::last_plot(),
width = NULL,
height = NULL,
keep_ratio = TRUE,
savewidget = FALSE,
dir = NULL,
name = "Plot",
replace = FALSE,
open = rlang::is_interactive(),
iframe = NULL,
pixel_width,
...
)
Arguments
plot |
|
width |
The width in centimeters. Default to printing device's size. |
height |
The height in centimeters. Default to printing device's size. |
keep_ratio |
By default, the height is forced based of the relative
size of the MCA's axes. Set to |
savewidget |
Should the html widget be saved on disk ? |
dir |
If saved as file, the directory in which to save the html widget.
Default to temporary directory. Set global option |
name |
The name of the file to save. |
replace |
Replace file ? By default, number added to find a new name. |
open |
Should the resulting file be opened at once ? |
iframe |
Create an html frame around the plot to ensure fixed
dimensions. Useful when opening the plot in a web browser (but will produce a blank
graph with rmarkdown). This is default behavior with |
pixel_width |
The width in pixels for
|
... |
Additional arguments to pass to |
Value
An html plot.