Data
rmm$data$occurrence$taxon <- c("Arctogadus borisovi", "Arcogadus glacialis", "Boreogadus saida", "Eleginus gracilis", "Gadus macrocephalus", "Gadus morhua", "Gadus ogac", "Melanogrammus aeglefinus", "Merlangius merlangus", "Microgadus proximus", "Microgadus tomcod", "Pollachius pollachius", "Pollachius virens", "Gadus chalcogrammus", "Trisopterus esmarkii", "Trisopterus luscus", "Trisopterus minutus")
rmm$data$occurrence$dataType <- c("Presence only")
rmm$data$occurrence$sources <- c("Global Biodiversity
Information Facility (GBIF)", "Ocean Biogeographic Information System (OBIS)", "Zoological Institute at the Russian Academy of Sciences (ZIN)", "Natural History Museum in London (NHMUK)")
rmm$data$occurrence$presenceSampleSize <- c(16, 41, 534, 121, 249, 448, 116, 273, 151, 46, 25, 68, 200, 282, 4, 5, 128)
rmm$data$occurrence$backgroundSampleSizeSet <- 10000
rmm$data$environment$variableNames <- c("Minimum Sea Ice Concentration", "Maximum Sea Ice Concentration", "Mean Mixed Layer Depth", "Minimum Mixed Layer Depth", "Maximum Mixed Layer Depth", "Mean Bottom Salinity", "Minimum Bottom Salinity", "Maximum Bottom Salinity", "Mean Surface Salinity", "Minimum Surface Salinity", "Maximum Surface Salinity", "Mean Bottom Temperature", "Minimum Bottom Temperature", "Maximum Bottom Temperature", "Mean Surface Temperature", "Minimum Surface Temperature", "Maximum Surface Temperature")
#Getting and documenting extents
# This code is provided as an example of how to extract extent information from rasters; below we manaully input the results so that we don't need to distribute these layers with this pacakge.
# setwd("~/Dropbox/rmm/DataForGadidDocumentation/ProjectDirectory/MTrimmedLayers/")
# trainingRegionList <- list.files(pattern = "etopo", recursive = T)
# extVect <- list()
# for(n in trainingRegionList){
# tmp <- raster(n)
# extVect[[length(extVect)+1]] <- tmp@extent
# }
# rmm$data$environment$extentSet <- extVect
# rm(trainingRegionList, tmp, extVect, n)
# Manual alternative
rmm$data$environment$extentSet <- list(
extent(-180,180,50.06732,90.06732),
extent(-180,180,54.77051,89.77051),
extent(-180,180,36.77808,89.77808),
extent(-180,180,39.46948,81.46948),
extent(-180,180,23.25928 ,74.25928),
extent(-80.8255,52.1745,32.15668,84.15668),
extent( -169.2665,-31.26648,35.74249,82.74249),
extent(-77.09869,56.90131,35.9895,82.9895),
extent(-27.11713,42.88287,29.41553 ,72.41553),
extent(-180,-115,31.06689 ,67.06689),
extent(-74.711,-54.711,38.268,52.268),
extent(-25.20459,34.79541,41.92908,75.92908),
extent(-79.63971,33.36029,32.28247,84.28247),
extent(-180,180,28.88068,75.88068),
extent(-26.31464,28.68536,42.62609,79.62609),
extent(-20.26068,26.73932,23.31372,64.31372),
extent(-20.40668,39.593,25.8183,71.8183))
rmm$data$environment$resolution <- "1 X 1 degree"
rmm$data$environment$sources <- c("NOAA National Geophysical Data Center", "NOAA World Ocean Atlas", "NOAA National Snow and Ice Data Center")
# omitted for the vignette to avoid distributing the data
# tmp <- raster("../EnvProjectionData/etopo.asc")
# rmm$data$transfer$environment1$extentSet <- as.character(tmp@extent)
rmm$data$transfer$environment1$resolution <- "1 X 1 degree"
rmm$data$transfer$environment1$sources <- c("NOAA National Geophysical Data Center", "NOAA World Ocean Atlas", "NOAA National Snow and Ice Data Center")
Tidying it all up
rmmClean <- rmmCleanNULLs(rmm)
rmmCheckFinalize(rmmClean)
##
##
## Element name '$modelFit$algorithmCitation' not found in data dictionary!
## Did you mean: '$model$algorithmCitation'?
## The following names are similar to suggested names, please verify:
## $modelFit$algorithmCitation
##
## Suggested alternatives include:
## $model$algorithmCitation
##
##
## The following names are not similar to any suggested names, please verify that these are accurate:
## $data$environment$extentSet[[1]]
## $data$environment$extentSet[[2]]
## $data$environment$extentSet[[3]]
## $data$environment$extentSet[[4]]
## $data$environment$extentSet[[5]]
## $data$environment$extentSet[[6]]
## $data$environment$extentSet[[7]]
## $data$environment$extentSet[[8]]
## $data$environment$extentSet[[9]]
## $data$environment$extentSet[[10]]
## $data$environment$extentSet[[11]]
## $data$environment$extentSet[[12]]
## $data$environment$extentSet[[13]]
## $data$environment$extentSet[[14]]
## $data$environment$extentSet[[15]]
## $data$environment$extentSet[[16]]
## $data$environment$extentSet[[17]]
## $dataPrep$duplicateRemoval$rule
## $dataPrep$questionablePointRemoval$notes
## $dataPrep$pointInPolygon$rule
## $dataPrep$spatialThin$rule
## $code
## $modelFit$maxent$featureSet
## $modelFit$maxent$notes
## $evaluation$notes
##
##
##
## ==========================================
## For the field rmm$data$occurrence$dataType
##
##
## The following entries are similar to suggested values, please verify:
## Presence only
##
##
## Suggested alternatives include:
## presence only
##
##
##
## ==========================================
## For the field rmm$data$environment$variableNames
##
##
## The following entries are not similar to any suggested values, please verify that these are accurate:
## Minimum Sea Ice Concentration; Maximum Sea Ice Concentration; Mean Mixed Layer Depth; Minimum Mixed Layer Depth; Maximum Mixed Layer Depth; Mean Bottom Salinity; Minimum Bottom Salinity; Maximum Bottom Salinity; Mean Surface Salinity; Minimum Surface Salinity; Maximum Surface Salinity; Mean Bottom Temperature; Minimum Bottom Temperature; Maximum Bottom Temperature; Mean Surface Temperature; Minimum Surface Temperature; Maximum Surface Temperature
##
##
##
## ==========================================
## For the field rmm$prediction$continuous$units
##
##
## The following entries appear accurate:
##
## absolute probability
##
##
##
## ==========================================
## For the field rmm$prediction$transfer$environment1$units
##
##
## The following entries appear accurate:
##
## absolute probability
##
##
##
## ==========================================
## For the field rmm$prediction$transfer$environment1$extrapolation
##
##
## The following entries are not similar to any suggested values, please verify that these are accurate:
## No clamping or extrapolation
##
##
## ===================================
##
## ===================================
## All fields are populated.
##