validate_topolow_df {topolow} | R Documentation |
Validate Input Data Frame
Description
Validates input data frame for visualization functions, checking required columns and data types.
Usage
validate_topolow_df(
df,
ndim,
require_clusters = FALSE,
require_temporal = FALSE
)
Arguments
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 |
Value
Validated data frame or throws error if invalid
[Package topolow version 1.0.0 Index]