Description Usage Arguments Value
View source: R/helper_functions.R
Stop execution if nothing is going to be returned or saved
1 | no_side_effect_warning(plot, output_path)
|
plot |
logical; should plot be returned in the current graphics device (likely in RStudio). |
output_path |
string; path where plot should be saved. Default is NULL. If path is provided, a PDF with the name "dendrogram_k_clusters" will be created, where k is the integer passed to cluster_number. |
If plot = FALSE and output_path = NULL, an error is returned. Otherwise, nothing is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.