ohi.model.resilience: Ocean Health Index: Resilience Model

Description Usage Arguments Details Value Examples

Description

The resilience model function computes a resilience score for each region given a weighting matrix for a goal and the individual resilience values.

Usage

1
ohi.model.resilience(r, t, w = NA, gamma = 0.5)

Arguments

r

the resilience value matrix [region_id x layer]. Each score must be a real number between 0 and 1 inclusive, or NA.

t

the typing vector t[layer] where values are from ohi.resilience.category.

w

the weighting matrix of the form [region_id x layer]. Each rank weight must be a real number >= 0, or NA for even weighting.

w.layers

the weighting vector of the form [layer]. Each rank weight must be a real number >= 0, or NA for even weighting.

gamma

the gamma constant for r_{i,x} calculation.

b

a boolean value matrix [region_id x layer] which is TRUE if the given region_id should include layer, and FALSE otherwise.

Details

To calculate Resilience for each goal g and region i (r(g, i)) we assess three types of resilience measures j: ecological integrity (Y_{E}(g, i)), goal-specific regulations aimed at addressing ecological pressures (G(g, i)), and social integrity (Y_{S}(g, i)). The first two measures address ecological resilience while the third addresses social resilience. When all three aspects are relevant to a goal, Resilience is calculated for each goal g and each region i:

r(g, i) = γ*≤ft(\frac{Y_{E}(g, i) + G(g, i)}{2}\right) + (1 - γ)*Y_{S}(g, i)

where each goal g is comprised of several resilience layers j where w_j is a configuration-time weight to aggregate across resilience categories:

G(g, i) = \frac{∑_{j \in g} w_j G(i, j)}{∑_{j \in g} w_j}

Y_{E}(g, i) = \frac{∑_{j \in g} Y_{E}(i,j)}{N}

Y_{S}(g, i) = \frac{∑_{j \in g} Y_{S}(i,j)}{N}

Value

ohi.model.resilience returns resilience score for each region. ohi.model.resilience.matrix returns a weighting matrix suitable for ohi.model.resilience.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
## Not run: 
> ohi.resilience.category
[1] "environmental" "regulatory"    "social"
> b
         layer
region_id fishing-v1 habitat-combo species-diversity-3nm wgi-all
      104       TRUE          TRUE                  TRUE    TRUE
      105       TRUE          TRUE                  TRUE    TRUE
      106       TRUE          TRUE                  TRUE    TRUE
      107       TRUE          TRUE                  TRUE    TRUE
      108       TRUE          TRUE                  TRUE    TRUE
      109       TRUE          TRUE                  TRUE    TRUE
      110       TRUE          TRUE                  TRUE    TRUE
      111       TRUE          TRUE                  TRUE    TRUE
      112       TRUE          TRUE                  TRUE    TRUE
      113       TRUE          TRUE                  TRUE    TRUE
      114       TRUE          TRUE                  TRUE    TRUE
> w
           fishing-v1         habitat-combo species-diversity-3nm
                    2                     2                     1
              wgi-all
                    1
> w < -ohi.model.resilience.matrix(b, w)
> w
         layer
region_id fishing-v1 habitat-combo species-diversity-3nm wgi-all
      104          2             2                     1       1
      105          2             2                     1       1
      106          2             2                     1       1
      107          2             2                     1       1
      108          2             2                     1       1
      109          2             2                     1       1
      110          2             2                     1       1
      111          2             2                     1       1
      112          2             2                     1       1
      113          2             2                     1       1
      114          2             2                     1       1

> r
         layer
region_id fishing-v1 habitat-combo species-diversity-3nm wgi-all
      104     0.4870        0.4495                0.8679  0.4385
      105     0.5162        0.5905                0.8748  0.2460
      106     0.4811        0.4051                0.8852  0.6465
      107     0.3618        0.2583                0.8260  0.8007
      108     0.5322        0.4703                0.9318  0.5579
      109     0.5053        0.4703                0.9313  0.5579
      110     0.6491        0.5690                0.9239  0.5703
      111     0.3629        0.1562                0.9230  0.6375
      112     0.5670        0.5000                0.9273  0.5718
      113     0.3807        0.2530                0.9339  0.4484
      114     0.6508        0.5690                0.9275  0.5703
> t
           fishing-v1         habitat-combo species-diversity-3nm
         "regulatory"          "regulatory"       "environmental"
              wgi-all
             "social"

> ohi.model.resilience(r, t, w)
   104    105    106    107    108    109    110    111    112    113
0.5533 0.4800 0.6553 0.6844 0.6372 0.6337 0.6684 0.6144 0.6511 0.5369
   114
0.6695

## End(Not run)

bbest/ohigui documentation built on May 11, 2019, 9:25 p.m.