Commit 02158c83 authored by Le Roux Erwan's avatar Le Roux Erwan
Browse files

[projection snowfall] install evgam successfully alongside R > 3.5

parent a8abd2f9
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -3,10 +3,8 @@
# Created by: erwan
# Created on: 30/03/2021
library(mgcv)
# library(evgam)
library(evgam)
library(SpatialExtremes)
library(ismev)
# Sample from a GEV
set.seed(42)
N <- 50
......@@ -22,6 +20,8 @@ colnames(coord) = c("T")
print(coord)
coord = data.frame(coord, stringsAsFactors = TRUE)
# res = fevd_fixed(x_gev, data=coord, method='MLE', verbose=TRUE, use.phi=FALSE)
res = fevd_fixed(x_gev, data=coord, location.fun= ~T, scale.fun= ~T, method='MLE', type="GEV", verbose=FALSE, use.phi=FALSE)
# fmla = list(miaxi)
evgam()
# res = evgam(x_gev, data=coord, location.fun= ~T, scale.fun= ~T, method='MLE', type="GEV", verbose=FALSE, use.phi=FALSE)
# res = fevd_fixed(x_gev, data=coord, shape.fun= ~T, method='MLE', type="GEV", verbose=FALSE, use.phi=FALSE)
print(res)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment