lhs.iso.rast: Convert isopleths to rasters

Description Usage Arguments Details Value See Also Examples

View source: R/lhs.iso.rast.R

Description

Adds rasterized version of isopleth(s) to a LoCoH-hullset object

Usage

1
2
3
4
lhs.iso.rast(lhs, id = NULL, k = NULL, r = NULL, a = NULL, s = NULL,
  hs.names = NULL, sort.metric = NULL, iso.method = "pt.quantiles",
  raster = NULL, dimSize = 100, cell.size = NULL, sf.cell.size = 2,
  ll.round = TRUE, status = TRUE)

Arguments

lhs

A LoCoH-hullset object

id

The id(s) of the hullsets to create isopleths for

k

The k value of hullsets to create isopleths for

r

The r value of hullsets to create isopleths for

a

The a value of hullsets to create isopleths for

s

The s value of hullsets to create isopleths for

hs.names

The name(s) of saved hullsets to create isopleths for

sort.metric

The name(s) of hull metric(s) used to form isopleths that rasters should be created for

iso.method

The method(s) used to define isopleths that will be converted to raster

raster

A RasterLayer object that will be used to set the extent and cell size of the rasterized isopleth

dimSize

The number of cells along the largest dimension of the track. The according raster will be calculated internally. Default is 100. Ignored if raster is passed.

cell.size

The size of each square cell in map units. Ignored if raster is passed.

sf.cell.size

The number of significant figures to use if the cell size has be computed based on dimSize. Default=2. Ignored if raster is passed.

ll.round

Whether to round the lower left coordinate to the lowest multiple of cell.size. Ignored if raster is passed. (T/F)

status

Show status messages. T/F

Details

This will take exising isopleths and create raster versions of them.

Value

A LoCoH-hullset object

See Also

lhs.iso.add

Examples

1
2
3
4
5
## Not run: 
lhs <- lhs.iso.add(lhs)
lhs <- lhs.iso.rast(lhs)

## End(Not run)

tlocoh.dev documentation built on May 2, 2019, 5:20 p.m.