View source: R/visualization.R
validate_topolow_df | R Documentation |
Validates input data frame for visualization functions, checking required columns and data types.
validate_topolow_df(
df,
ndim,
require_clusters = FALSE,
require_temporal = FALSE
)
df |
Data frame to validate |
ndim |
Number of dimensions expected in coordinate columns. Names of coordinate columns must start with a "V". |
require_clusters |
Whether cluster column is required |
require_temporal |
Whether year column is required |
Validated data frame or throws error if invalid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.