PseudoLayer: A nastyverse function

Description Usage Arguments Details Value Examples

View source: R/PseudoPredictR_functions.R

Description

This function creates a pseudo predictor layer based on a classical painting to assess the significance of your climatic and topographical predictors. The output raster will have the same extent and resolution as your input prediction layer.

Usage

1
PseudoLayer(inputRas, pseudoRas = "fathorse", mask = F)

Arguments

inputRas

Your input prediction layer

pseudoRas

character string specifiying which built-in classical painting to use as pseudo predictor. Defaults to fathorse.

mask

Should the output raster be masked to your input data?

Details

use pseudoRas="show me" to see all possible arguments for the pseudoRas param

Value

Returns a raster object

Examples

1
2
3
4
# Get a fathorse raster that matches the extent and resolution of your prediction layers 
layer=raster()
a=PseudoLayer(inputRas = layer)
plot(a)

HeatherWelch/PseudoPredictR documentation built on Feb. 28, 2020, 12:20 a.m.