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

x

(Domain).

Value

numeric.


mlr-org/phng documentation built on April 22, 2024, 4:34 p.m.