0 / 0
Lists
Last updated: Jan 17, 2024
Lists (SPSS Modeler)

A list is an ordered sequence of elements, which may be of mixed type. Lists are enclosed in square brackets ([ ]).

Examples of lists are [1 2 4 16] and ["abc" "def"] and [A1, A2, A3]. Lists are not used as the value of SPSS Modeler fields. They are used to provide arguments to functions, such as member and oneof.

Notes:
  • Lists can be composed only of static objects (for example, a string, number, or field name) and not calls to functions.
  • Fields containing a list type aren't supported. For example, the function value_at(3, ['Gender' 'BP' 'Cholesterol']) is supported, but the function value_at(3, 'ListField') isn't supported.
Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more