paramTest: @title 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
## Not run: 
test <- .paramTest(Occurrence_data = CucurbitaData[CucurbitaData$taxon == "Cucurbita Cordata"],
                                 Raster = CucurbitaRasters[[1]])

## End(Not run)

ccsosa/GapAnalysisR_test documentation built on July 15, 2020, 8:39 a.m.