Create Multiple Charts Based on a Faceting Variable
sp_facet.Rd
This function creates multiple charts based on a specified faceting variable.
Arguments
- sp
A SveltePlot htmlwidget object.
- ncol
The number of columns in the facet grid. Default is NULL, which auto-calculates based on the number of rows.
- nrow
The number of rows in the facet grid. Default is NULL, which auto-calculates based on the number of columns.
- scales
A character string specifying whether scales are shared across all facets. Options are "fixed" (default) or "free".