Learn R Programming

TDMR (version 2.2)

tdmMapDesApply: Apply the mapping from des to opts.

Description

For each variable which appears in .roi (and thus in design point data frame des): set its counterpart in list opts to the values of the k-th row in des. For each variable not appearing: leave its counterpart in opts at its default value from defaultOpts.

Usage

tdmMapDesApply(des, opts, k, spotConfig, tdm)

Arguments

des

design points data frame

opts

list of options

k

apply mapping for the k-th design point

spotConfig

list, we needed here spotConfig$alg.roi and envT$mapUser, see tdmMapDesLoad, and in addition envT$spotConfig$alg.roi

tdm

list, we need here tdm$map and tdm$mapUser

Value

opts, the modified list of options

See Also

tdmMapDesLoad