setValueCNames: Set components names for vector names

View source: R/setValueCNames.R

setValueCNamesR 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.


ParamHelpers documentation built on July 4, 2022, 5:07 p.m.