upscale function

Upscaling of smooth components

Upscaling of smooth components

The analysis is based a wavelet multiresolution analysis using only smooth wavelet components. It is a 2D analysis taking the grid structure and provides scale-specific results for data sampled on a contiguous geographical area. The dataset is assumed to be regular gridded and the grid cells are assumed to be square. The scale-dependent results are graphically displayed.

upscale( f, coord, wavelet = "haar", wtrafo = "dwt", pad = mean(f), color.maps = FALSE )

Arguments

  • f: A vector.
  • coord: A matrix of two columns with corresponding cartesian coordinates. Currently only supports integer coordinates.
  • wavelet: Name of wavelet family. haar, d4, and la8. are possible. haar is the default.
  • wtrafo: Type of wavelet transform. Either dwt or modwt. dwt is the default.
  • pad: A numeric value for padding the matrix into a bigger square. Default is set to mean(f).
  • color.maps: A logical value. If TRUE, produces colorful maps. If FALSE, produces grayscale maps. Default is grayscale. NOW DEPRECATED, color maps will not be produced in future versions.

Returns

A set of plots showing the matrix image at each value for level.

Examples

data(carlinadata) coords <- carlinadata[ ,4:5] upscale(carlinadata$land.use, coord = coords)

Author(s)

Gudrun Carl

  • Maintainer: Sam Levin
  • License: GPL-3
  • Last published: 2020-10-30