Learn R Programming

intensity.analysis (version 0.1.6)

IIA: Interval level intensity analysis

Description

Interval level intensity analysis

Usage

IIA(crosstabulation, time.points)

Arguments

crosstabulation

List of crosstabulation tables generated by multicrosstab function.

time.points

a charachter vector showing the time point of each raster layer in chronological order.

Value

The output is a list of lists. Elements of the list include: change amount, uniform intensity of change and Uniform change all in all intervals.

Details

Gets the list of crosstabulation tables, time points vector and returns a list of interval level metrics accompanied with relevant bar graphs.

Examples

Run this code
# NOT RUN {
raster_2005 <- raster::raster(system.file("external/RASTER_2005.RST", package="intensity.analysis"))
raster_2010 <- raster::raster(system.file("external/RASTER_2010.RST", package="intensity.analysis"))
raster_2012 <- raster::raster(system.file("external/RASTER_2012.RST", package="intensity.analysis"))
raster.layers <- list(raster_2005, raster_2010, raster_2012)
time.points <- c("2005","2010","2012")
categories <- c("Water","Trees","Impervious")
crosstabulation <- multicrosstab(raster.layers, time.points, categories)
IIA.output <- IIA(crosstabulation, time.points)
# }

Run the code above in your browser using DataLab