Gist 4953443
✓ Published0🌍 Public
RRCura
Last edited Feb 14, 2013
Created on Feb 14, 2013
This example shows how to prepare and filter variable columns from a dataset for visualization, dynamically building a list of column names based on mapped X and Y variables and additional filter variables. It retrieves each column’s numeric values as an `Array[Double]` from a data structure using `get` and `getVariableFromColumn`, then stores them in a `Map` keyed by column name. The code relies on Scala collections like `ListBuffer` and `mutable.Map`, with error handling via `UserBadDataError` when a column is not of the expected type.
AI-generated description