coverratio: Helper Function to calculate cover ratio

View source: R/utils.R

coverratioR Documentation

Helper Function to calculate cover ratio

Description

This function is used inside of the area calculation functions to evaluate the ratio a given raster is not covered by a polygon. Can be used as an indicator if further cropping of the raster ca improve calculation time.

Usage

coverratio(r, p)

Arguments

r

A raster object

p

A sf object

Value

The cover ratio in percent

Author(s)

Darius Görgen (MapTailor Geospatial Consulting GbR) info@maptailor.net
Maintainer: MAPME-Initiative contact@mapme-initiative.org
Contact Person: Dr. Johannes Schielein
Copyright: MAPME-Initiative
License: GPL-3


mapme-initiative/mapme.forest documentation built on April 15, 2022, 4:50 a.m.