shar (version 1.1)

extract_points: extract_points

Description

Extract points

Usage

extract_points(raster, pattern)

Arguments

raster

RasterLayer.

pattern

Point pattern.

Value

data.frame

Details

The function extracts the number of points within each habitat.

Examples

Run this code
# NOT RUN {
landscape_classified <- classify_habitats(landscape, classes = 5)
extract_points(raster = landscape_classified, pattern = species_b)

# }

Run the code above in your browser using DataCamp Workspace