upscale {spind} | R Documentation |
Upscaling of smooth components
Description
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.
Usage
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. |
wtrafo |
Type of wavelet transform. Either |
pad |
A numeric value for padding the matrix into a bigger square. Default is set to mean(f). |
color.maps |
A logical value. If |
Value
A set of plots showing the matrix image at each value for
level
.
Author(s)
Gudrun Carl
Examples
data(carlinadata)
coords <- carlinadata[ ,4:5]
# Upscaling of smooth components
upscale(carlinadata$land.use, coord = coords)