R/tools.R
replaceMissingSdByPercentage.Rdreplace missing standard deviation of a measure x by a percentage of x
replaceMissingSdByPercentage(sdX, x, perc = 0.2, minSdX = 0.7)sdX with non-finite values replaced.
If either perc or inSdX is NA then only the other criterion is applied. If both are NA then all missings are set to NA.