run_sicktree_model: Run a distribution model using a raster brick as predictors

Description Usage Arguments Value Note See Also

View source: R/run_sicktree_model.r

Description

For each class in .shp polygon file, run an existing, calibrated, distribution model using a raster brick as predictors

Usage

1
run_sicktree_model(r_pred, vuln_classes, model_dir, outp_dir)

Arguments

r_pred

A rasterbrick or rasterstack containing the predictor layers

vuln_classes

A list of the classes you want to run existing models for Only the fist place in each element will be used to search for existing models.

model_dir

The folder and filename prefix to where the models were saved by calibrate_sicktree_model

outp_dir

The folder and filename prefix to save the model output to

Value

Saves rasters predicted by the model

Note

Run in 32-bit R installation. Implement optional parallel

See Also

calibrate_vulnerableveg_model


pieterbeck/CanHeMonR documentation built on May 25, 2019, 7:11 a.m.