Learn R Programming

geonet (version 0.7.3)

network_intensity: Fitted Intensity on a Geometric Network

Description

Fitted Intensity on a Geometric Network

Usage

network_intensity(z, m, fit1, fit2 = NULL, scale = NULL)

Value

A numeric vector of length one, indicating the intensity (or the squared difference of two intensities) at the specified point.

Arguments

z

The shortest path distance from the beginning of the network segment.

m

The network segment index.

fit1

A fitted geometric network.

fit2

A second fitted geometric network. If specified, the function returns the squared difference of the intensity fits at the specified point of the network.

scale

A numeric vector of length two which determines the scaling of the two intensity functions.