extract_points: extract_points

Description Usage Arguments Details Value Examples

View source: R/extract_points.R

Description

Extract points

Usage

1
extract_points(raster, pattern)

Arguments

raster

RasterLayer.

pattern

Point pattern.

Details

The function extracts the number of points within each habitat.

Value

data.frame

Examples

1
2
landscape_classified <- classify_habitats(landscape, classes = 5)
extract_points(raster = landscape_classified, pattern = species_b)

mhesselbarth/SHAR documentation built on Oct. 17, 2020, 8:58 p.m.