plotrelp {DRHotNet} | R Documentation |
Plots an object obtained with relpnet
Description
This function plots the relative probability of occurrence of a type of event along a linear network
Usage
plotrelp(X, rel_probs, eps_image = F)
Arguments
X |
- A |
rel_probs |
- An object containing the relative probabilities of a specific type of event along the linear network contained in |
eps_image |
- If set to |
Examples
library(DRHotNet)
library(spatstat.geom)
library(spatstat.linnet)
library(spdep)
rel_assault <- relpnet(X = chicago,
lixel_length = 50, h = 50, mark = "marks", category_mark = "assault")
plotrelp(X = chicago, rel_probs = rel_assault)
[Package DRHotNet version 2.3 Index]