weighted_fetch: Calculate weighted mean fetch.

Description Usage Arguments Value

View source: R/weighted-fetch.R

Description

Calculates weighted mean fetch.

Usage

1
weighted_fetch(x, max_fetch = 2 * 10^5)

Arguments

x

A data frame with the columns Fetch and Weight.

max_fetch

A number indicating the maximum fetch distance to consider.

Value

A data frame with a single row and column Fetch indicating the mean fetch.


sebdalgarno/HGfetch documentation built on Oct. 16, 2018, 6:11 p.m.