scale_type: Type of scale

View source: R/utils.R

scale_typeR Documentation

Type of scale

Description

Type of scale

Usage

scale_type(elements)

Arguments

elements

values

Quantitative scales are treated differently than categorical scales by D3. If elements is numeric and has a length greater than one, it returns "quantitative". If elements is NULL, or not numeric, or has a length of one, it returns "categorical".


nachocab/clickme documentation built on Nov. 11, 2023, 3:14 p.m.