Description Usage Arguments Details Value Author(s) See Also Examples
It provides the different
possible routes, their frequency as well as their respective
probabilities when considering uncertain probabilities lying
on a interval p
+- delta
.
1 | routes(p, delta = 0)
|
p |
vector of probabilities of length |
delta |
Delta value when considering uncertain probabilities. The interval is of the type |
By default, delta
is considered to be zero disregarding uncertainty.
A data frame containing the routes, frequencies, and respective probabilities.
Christian E. Galarza and Jonathan M. Olate
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
#An N=7 Opportunistic system with probabilities p1 = 0.7,...,p7 = 0.1
> p = seq(0.7,0.1,length.out = 7)
> routes(p)
Freq Probability Value
route 1 1 p1^7 0.08235
route 2 6 p1^5*p2 0.10084
route 3 10 p1^3*p2^2 0.12348
route 4 4 p1*p2^3 0.1512
route 5 5 p1^4*p3 0.12005
route 6 12 p1^2*p2*p3 0.147
route 7 3 p2^2*p3 0.18
route 8 3 p1*p3^2 0.175
route 9 4 p1^3*p4 0.1372
route 10 6 p1*p2*p4 0.168
route 11 2 p3*p4 0.2
route 12 3 p1^2*p5 0.147
route 13 2 p2*p5 0.18
route 14 2 p1*p6 0.14
route 15 1 p7 0.1
Total 64
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.