Function to retreive value of parameter from param name.

getparam(params, param)

Arguments

params

Data frame of parameters with two columns param and value.

param

Character string corresponding to a value in param$param.