split_raster: This function splits a large raster file into several smaller...

Description Usage Arguments Value See Also Examples

View source: R/split_raster.R

Description

This function splits a large raster file into several smaller ones, specified by no_sides. Useful if you wish to analyse a large area in parallel. Run stitch_raster after your analysis to merge the pieces back together again.

Usage

1
split_raster(raster, no_sides, save, plot, raster.name)

Arguments

raster

A raster object to be split.

no_sides

The number of pieces per side to split a raster object. e.g no_sides = 3 will create 9 new raster files.

save

Logical. If TRUE, the split raster files will be saved to your working directory.

plot

Logical. If TRUE, the split files will be plotted to screen.

Value

Returns a list of raster files.

See Also

stitch_raster

Examples

1
Coming soon.

simon-tarr/island documentation built on May 6, 2019, 8:05 p.m.