setValueCNames {ParamHelpers}R Documentation

Set components names for vector names

Description

If param has cnames set component names in a value. Otherwise x is left unchanged.

Usage

setValueCNames(par, x)

Arguments

par

(Param | ParamSet)
Parameter or parameter set.

x

(any)
Param value(s). For a parameter set this must be a list in the correct order.

Value

x with changed names.


[Package ParamHelpers version 1.14.1 Index]