A .scale parameter has been added in SensitivityJob$param() and SensitivityJob$apply_measure().
Previously, scale is set to FALSE in sensitivity::morris() in morris_samples(), which will keep the original sampled values before computing the elementary effects. This may be not desirable in some cases. This PR addresses this issue by adding a .scale to control the behavior.
Note that the X element in returned list of sensitivity::morris() always store the original sampled values and only scale them during evaluating.
Pull request overview
.scale
parameter has been added inSensitivityJob$param()
andSensitivityJob$apply_measure()
.Previously,
scale
is set toFALSE
insensitivity::morris()
inmorris_samples()
, which will keep the original sampled values before computing the elementary effects. This may be not desirable in some cases. This PR addresses this issue by adding a.scale
to control the behavior.Note that the
X
element in returned list ofsensitivity::morris()
always store the original sampled values and only scale them during evaluating.