init_glinet: Initialize the network

Description Usage Arguments Value

View source: R/glinet_density.R

Description

Initializes the network net by a set of points xy and their corresponding weights w.

Usage

1
init_glinet(net, xy, w)

Arguments

net

A glinet object.

xy

A table-like object (data.frame or matrix) with two columns for x and y coordinates, representing the set of points (observations or events) whose density should be estimated on the network.

w

A numeric vector (of the same length as the number of points in xy) of weights. Each weight will be distributed to the nearest two vertices of the network.

Value

An initialized glinet object.


vojta-bartak/glinet documentation built on Nov. 29, 2021, 6:21 p.m.