R語言學習記錄:if語句
在去除含有NA的時間序列像元的時候出現(xiàn)了這么幾種情況:
case1:徐小洋法
case2:https://stackoverflow.com/questions/53054316/remove-linear-trend-from-raster-stack-r?rq=1
case3:https://stackoverflow.com/questions/63831287/extracting-p-values-from-lineair-regression-on-raster-image-through-calc-functio?rq=1
if語句
1一個分支
若條件為T,則執(zhí)行expression;若F,則nothing will happen
2兩個分支if-else
3多個分支
標簽: