hongyuanjia / epluspar

Conduct parametric analysis on EnergyPlus models in R
https://hongyuanjia.github.io/epluspar
Other
9 stars 0 forks source link

Scale input to [0,1] in SensitivityJob by default. #14

Closed hongyuanjia closed 4 years ago

hongyuanjia commented 4 years ago

Pull request overview

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.