欢迎光临散文网 会员登陆 & 注册

R语言学习记录:if语句

2022-10-09 00:43 作者:孤独的王大老实  | 我要投稿


在去除含有NA的时间序列像元的时候出现了这么几种情况:

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,则执行expression;若F,则nothing will happen

2两个分支if-else



3多个分支


R语言学习记录:if语句的评论 (共 条)

分享到微博请遵守国家法律