Learn R Programming

ParamHelpers (version 1.14.2)

setValueCNames: 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)

Value

x with changed names.

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.