as.ParameterSet: Coerce to a ParameterSet

Description Usage Arguments Details Value See Also

View source: R/ParameterSet.R

Description

Coerces objects to ParameterSet.

Usage

1
2
3
4
5
6
7
as.ParameterSet(x,...)

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

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

Arguments

x

object

...

additional arguments

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.

Value

An R6 object of class ParameterSet.

See Also

ParameterSet


RaphaelS1/distr6 documentation built on April 7, 2020, 2:57 a.m.