SIInBC: Derive site index for a given spatial coverage or a spatial...

Description Usage Arguments Value Author(s)

View source: R/SIInBC.R

Description

This function is to derive species' site index for a given spatial coverage or spatial points based on BC provincial species productivity maps.

Usage

1
2
SIInBC(SIMapPath, spatialCoverage, species = "all",
  returnClass = "table")

Arguments

SIMapPath

character, Specifies folder location of species index maps. Please request all the maps from author and save them into your target folder. The function only supports TIFF format. Currently those maps were converted from BC Data catalogue.

spatialCoverage

spatialPolygons or spatialPoints, Specifies spatial polygons or spatial points that need to intersect.

species

character, Must be one or some of 22 species.

returnClass

character, Specifies the class you intended to return from either sp or table. If missing, table will be used.

Value

the returned value depends on returnClass arguement and class of spatialCoverage arguement. If returnClass is set as table, a table will be returned. If returnClass is set as sp, a raster layer will be returned for SpatialPolygons* objects, while a SpatialPointDataframe will be returned for SpatialPoints* objects.

Author(s)

Yong Luo


bcgov/BCForestGroundSample documentation built on May 25, 2019, 3:21 p.m.