compress: Compress maxent output by converting from ASCII file to...

Description Usage Arguments Value Functions

Description

Maxent writes out ASCII files that are uncompressed. This function transforms the data, converts it to a compressed geotif, and deletes the original. The default transform rtrans is to take the round(log(x)*100). Note that this conversion may be lossy depending on the transform applied.

Usage

1
2
3
4
5

Arguments

file

character path to file to be compressed

fun

Function to use to compress the data. Default is rtrans(), which is round(log(x)*100.

x

value passed to rtrans or untrans for conversion.

...

additional functions to be passed to writeRaster()

Value

Returns the converted file as a raster() object

Functions


bossMaps documentation built on May 2, 2019, 3:57 p.m.