Learn R Programming

topolow (version 1.0.0)

validate_topolow_df: 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
)

Value

Validated data frame or throws error if invalid

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