- 积分
- 79
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2020-7-18
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 jaou 于 2021-8-18 15:10 编辑
对于R语言在气象上的应用,资料比较少,最近有用到重现期的计算,就简单说一下。在R中要用到extRemes这个包,关键要用到fevd()这个函数,把函数的语法简单发一下[size=13.3333px]fevd(x, data, threshold = NULL, threshold.fun = ~1, location.fun = ~1,[size=13.3333px] scale.fun = ~1, shape.fun = ~1, use.phi = FALSE, type = c([size=13.3333px]"GEV", "GP", "PP", "Gumbel", "Exponential"[size=13.3333px]), method = c([size=13.3333px]"MLE", "GMLE", "Bayesian", "Lmoments"[size=13.3333px]), initial = NULL
span, units = NULL, time.units = "days", period.basis = "year", na.action = na.fail, optim.args = NULL, priorFun = NULL, priorParams = NULL, proposalFun = NULL, proposalParams = NULL, iter = 9999, weights = 1, blocks = NULL, verbose = FALSE)
具体参数不懂的help()就好。
详细代码请参见http://bbs.06climate.com/forum.php?mod=viewthread&tid=100392
|
|