Products | Versions |
---|---|
Spotfire Analyst | All Versions |
Could not execute function call. Could not calculate inputs. Argument 'myStringListPropertyInput' could not be type checked.
For example, your selection in the List Box are 3 values: A,B and C. Using the Expression "${myStringListProperty}", this passes “A,B,C” to the statistical engine. Using the Expression $map("'${myStringListProperty}'", ","), this passes “'A','B','C'” to the statistical engine. Within your data function you can then parse or handle this data as desired. For example, you can split these values into separate values using unlist() with strsplit() or many other methods.
Example:
> unlist(strsplit("A,B,C","\\,")) [1] "A" "B" "C"