ParamTest: Input Parameter Test

View source: R/ParamTest.R

ParamTestR Documentation

Input Parameter Test

Description

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

Usage

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

##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]])

ccsosa/GapAnalysis documentation built on Dec. 21, 2024, 10:27 a.m.