%at% | R Documentation |
combines the stats (from individual station evaluation) and site list in a SpatVector using row.names
stat %at% site
stat |
data.frame with stats or other variable (containing row.names and other variables) |
site |
data.frame with site list (containing row.names, lat and lon) |
SpatVector (terra package)
sites<- readRDS(paste0(system.file("extdata",package="eva3dm"),"/sites_AQ_BR.Rds"))
model<- readRDS(paste0(system.file("extdata",package="eva3dm"),"/model.Rds"))
obs <- readRDS(paste0(system.file("extdata",package="eva3dm"),"/obs.Rds"))
stats <- eva(mo = model, ob = obs, site = 'Americana')
stats <- eva(mo = model, ob = obs, site = 'SAndre',table = stats)
stats <- eva(mo = model, ob = obs, site = 'VVIbes',table = stats)
print(stats)
geo_stats <- stats %at% sites
print(geo_stats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.