network_intensity | R Documentation |

Fitted Intensity on a Geometric Network

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

`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. |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.