Description
TheTransition class is an S4 class that stores the results of Intensity Analysis at the Transition level. This is the third and most detailed level of intensity analysis, which examines how the size and intensity of a category’s transitions vary across the other categories available for that transition.
Class Definition
Slots
The colors associated with the LUC legend items. Each element should be a color code (e.g., “#FFE4B5”) with the category name as the name attribute.
A table of Transition level results containing either:
- Gain of category n: Rtin (transition intensity) and Wtn (uniform transition intensity) values
- Loss of category m: Qtmj (transition intensity) and Vtm (uniform transition intensity) values
A table containing results of a stationarity test. A transition is considered stationary only if the intensities for all time intervals reside on one side of the uniform intensity.Must be a tibble with exactly 5 columns.
Slot Details
For Gain of Category n
transitionData (7 columns):- Period (
<fct>): The period [Yt, Yt+1] - From (
<fct>): A category i - To (
<fct>): The gaining category in the transition of interest (n) - Interval (
<int>): Duration of the period [Yt, Yt+1] - T_i2n_km2 or T_i2n_pixel (
<dbl>): Area with transition from category i to category n during time interval [Yt, Yt+1] where i ≠ n - Rtin (
<dbl>): Annual intensity of transition from category i to category n during time interval [Yt, Yt+1] where i ≠ n - Wtn (
<dbl>): Value of the uniform intensity of the transition to category n from all non-n categories at time Yt during time interval [Yt, Yt+1]
- From (
<fct>): The losing category in the transition of interest to category n - loss (
<int>): Number of times the category had losses to category n - N (
<int>): Total number of transitions to be considered as stationary (T) - Stationarity (
<chr>): targeted by or avoided by category n - Test (
<chr>): Y for stationarity detected and N when not
For Loss of Category m
transitionData (7 columns):- Period (
<fct>): The period [Yt, Yt+1] - To (
<fct>): A category j - From (
<fct>): The losing category in the transition of interest (m) - Interval (
<dbl>): Duration of the period [Yt, Yt+1] - T_m2j_km2 or T_m2j_pixel (
<dbl>): Area with transition from category m to category j during time interval [Yt, Yt+1] where j ≠ m - Qtmj (
<dbl>): Annual intensity of transition from category m to category j during time interval [Yt, Yt+1] where j ≠ m - Vtm (
<dbl>): Value of the uniform intensity of the transition from category m to all non-m categories at time Yt+1 during time interval [Yt, Yt+1]
- To (
<fct>): The gaining category in the transition of interest from category m - gain (
<int>): Number of times the category had gains from category m - N (
<int>): Total number of transitions to be considered as stationary (T) - Stationarity (
<chr>): targeted or avoided category m - Test (
<chr>): Y for stationarity detected and N when not
Details
Transition Level Analysis
The Transition level answers the questions:- For gains: “Which categories are contributing most intensively to the gain of category n?”
- For losses: “Which categories are category m transitioning to most intensively?”
Gain Analysis
- Rtin (Transition Intensity): Annual intensity of transition from category i to category n
- Wtn (Uniform Transition Intensity): Hypothetical intensity if all non-n categories contributed uniformly to n’s gain
- If Rtin > Wtn: Category n is targeting category i (gaining intensively from i)
- If Rtin < Wtn: Category n is avoiding category i (gaining less intensively from i)
Loss Analysis
- Qtmj (Transition Intensity): Annual intensity of transition from category m to category j
- Vtm (Uniform Transition Intensity): Hypothetical intensity if category m transitioned uniformly to all non-m categories
- If Qtmj > Vtm: Category m is targeting category j (transitioning intensively to j)
- If Qtmj < Vtm: Category m is avoiding category j (transitioning less intensively to j)
Stationarity Testing
The stationarity test determines whether transition patterns are consistent across time:- Targeted by/Targeted: Intensities are consistently above the uniform rate
- Avoided by/Avoided: Intensities are consistently below the uniform rate
- Test = Y: The pattern is stationary (consistent across all intervals)
- Test = N: The pattern is not stationary (varies across intervals)
Usage in Intensity Analysis
TheTransition objects are created by the intensityAnalysis() function:
Plotting
TheTransition class has a dedicated plot method:
- The area of transition from each category to the target category
- The intensity of each transition compared to the uniform intensity