Contents

init(_:description:scale:)

Creates a scoring dimension.

Declaration

init(_ name: String, description: String? = nil, scale: ScoringScale)

Parameters

  • name:

    The dimension name, used as the DataFrame column name and for aggregation lookup.

  • description:

    Optional description providing context about what this dimension measures.

  • scale:

    The scoring scale for this dimension.