ParamTest: Input Parameter Test

Description Usage Arguments Value Author(s) Examples

View source: R/ParamTest.R

Description

Preforms a series of test to validation that input occurrence data and SDM meet require parameters

Usage

1
ParamTest(Occurrence_data, Raster)

Arguments

Occurrence_data

A data frame object with the species name, geographical coordinates, and type of records (G or H) for a given species

Raster

A raster object representing the species distribution model

Value

A list with two binary values

Author(s)

Dan Carver

Examples

1
2
3
4
5
6
7
##Obtaining occurrences from example
data(CucurbitaData)
##Obtaining Raster_list
data(CucurbitaRasters)
##Run function
test <- ParamTest(Occurrence_data = CucurbitaData[CucurbitaData$taxon == "Cucurbita Cordata",],
                  Raster = CucurbitaRasters[[1]])

GapAnalysis documentation built on June 14, 2021, 9:07 a.m.