extract_points: extract_points

View source: R/extract_points.R

extract_pointsR Documentation

extract_points

Description

Extract points

Usage

extract_points(raster, pattern)

Arguments

raster

RasterLayer with environmental data

pattern

ppp object with point pattern.

Details

The function extracts the number of points within each discrete habitat.

Value

data.frame

See Also

results_habitat_association

Examples

## Not run: 
landscape_classified <- classify_habitats(landscape, n = 5, style = "fisher")
extract_points(raster = landscape_classified, pattern = species_b)

## End(Not run)


mhesselbarth/SHAR documentation built on March 27, 2022, 10:53 a.m.