number_of_parameters {soobench}R Documentation

Return the parameter space size of a function.

Description

Return the parameter space size of a function.

Usage

  number_of_parameters(fn)

  ## S3 method for class 'soo_function'
 number_of_parameters(fn)

Arguments

fn

Function.

Value

Expected length of first argument. I.e. the size of the parameter space of the function fn.


[Package soobench version 1.0-73 Index]