extract_points: extract_points

Description Usage Arguments Details Value See Also Examples

View source: R/extract_points.R

Description

Extract points

Usage

1
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

1
2
3
4
5
## Not run: 
landscape_classified <- classify_habitats(landscape, classes = 5)
extract_points(raster = landscape_classified, pattern = species_b)

## End(Not run)

shar documentation built on Jan. 4, 2022, 5:08 p.m.