Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

distr6 (version 1.3.7)

as.ParameterSet: Coerce to a ParameterSet

Description

Coerces objects to ParameterSet.

Usage

as.ParameterSet(x,...)

# S3 method for data.table as.ParameterSet(x, ...)

# S3 method for list as.ParameterSet(x, ...)

Arguments

x

object

...

additional arguments

Value

An R6 object of class ParameterSet.

Details

Currently supported coercions are from data tables and lists. Function assumes that the data table columns are the correct inputs to a ParameterSet, see the constructor for details. Similarly for lists, names are taken to be ParameterSet parameters and values taken to be arguments.

See Also

ParameterSet