upscaleUmatrix {GeneralizedUmatrix} | R Documentation |
Upscale a Umatrix grid
Description
Use linear interpolation to increase the size of a umatrix. This can be used to produce nicer ggplot plots in plotTopographicMap
and is going to be used for further normalization of the umatrix.
Usage
upscaleUmatrix(Umatrix, Factor = 2,BestMatches, Imx)
Arguments
Umatrix |
The umatrix which should be upscaled |
BestMatches |
The BestMatches which should be upscaled |
Factor |
Optional: The factor by which the axes will be scaled. Be aware that the size of the matrix will grow by Factor squared. Default: 2 |
Imx |
Optional: Island cutout of the umatrix. Should also be scaled to the new size of the umatrix. |
Value
A List consisting of:
Umatrix |
A matrix representing the upscaled umatrix. |
BestMatches |
If BestMatches was given as parameter: The rescaled
BestMatches for an island cutout. Otherwise: |
Imx |
If Imx was given as parameter: The rescaled matrix for an island
cutout. Otherwise: |
Author(s)
Felix Pape