R或PostgreSQL中的最小可变性检查(Minimum variability check in R or PostgreSQL)
我的数据集包含温度值。 我想预先形成最小可变性检查。 我想检查3个连续的温度值是否相对于每个定义的阈值(.05)没有变化,然后用最后三个观察值的平均值替换它们。
My Data-set contains temperature values. I want to preform minimum variability check. I would like to check if 3 successive temperature values do not changed with respect to a per-defined threshold (.05), then replacing them with mean value of last three observations.
原文:https://stackoverflow.com/questions/13045278
更新时间:2021-10-06 20:10