domain_nlevels: The Number of Levels of a Given Domain

View source: R/Domain_methods.R

domain_nlevelsR Documentation

The Number of Levels of a Given Domain

Description

This should be the number of discrete possible levels for discrete type Domains such as p_int() or p_fct(), and Inf for continuous or untyped parameters.

Usage

domain_nlevels(param)

Arguments

param

(Domain).

Value

numeric.


mlr-org/paradox documentation built on Feb. 1, 2025, 9:42 p.m.