ahn_prob {AnimalHabitatNetwork} | R Documentation |
Plot the probability curve P(Dij, mu, lamda)
for removing links from the initial complete network
ahn_prob(Dij = seq(0.05, 10, length.out = 30), mu = c(0.1, 2, 5, 10), lamda = c(1e-04, 0.15, 0.35, 0.75, 1.25, 5, 30))
Dij |
A vector of Euclidean distances between node |
mu |
The concave-to-convex transition point of the probability curves |
lamda |
The steepness of the probability curves |
Return a plot with probability curves
# plot the probabilities for removing network links between node i and j with # Euclidean distances Dij dis <- seq(.05, 10, length.out = 20) m <- c(.1, 2, 5, 10) l <- c(.0001, .15, .35, .75, 1.25, 5, 30) ahn_prob(dis, m, l)