plotLevel2D: Plot a Full Set of Images for a "sampSurf" Wavelet...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This routine will plot the full set of isotropic and anisotropic images for a given level of decomposition either as the raw wavelet coefficients or various wavelet variances. Both “ssMODWT” and covariance objects, “ssCovMODWT”, are supported.

The level = j decompositions are plotted in a 2x2 matrix with...

1st row: Horizontal | Diagonal
2nd row: Isotropic | Vertical

At level = J0, there are five subfigures as the smooth, ‘LLJ’, is also included centered in the 3rd row.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
plotLevel2D(ssMODWT,
            level = 1,
            decompType = c("modwt", "mra"),
            type = c("raw", "var"),
            isoSmooth = TRUE,
            showPlot = TRUE,
            showIZs = TRUE,
            col = NA,
            boxCol = "gray",
            title = NA,
            showLegend = TRUE,
            runQuiet = FALSE,
            ...
           )

Arguments

ssMODWT

An object of class “ssMODWT” for raw or variance display, or an object of class “ssCovMODWT” for covariance display.

level

The decomposition level desired, j = 1,…,J0.

decompType

Either “MODWT” or “MRA” decomposition may be displayed for type = 'raw'. Only the former is available for variance or covariance displays.

type

‘raw’ corresponds to the raw wavelet coefficients. ‘var’ is for a plot of the variance.

isoSmooth

TRUE: include ‘LLJ’ in the result for isotropic at level J (i.e., J0); FALSE: do not include the smooth component.

showPlot

TRUE: display the plot; FALSE: no display.

showIZs

TRUE: display the inclusion zones for the “Stem” objects; FALSE: no display.

col

A vector palette of colors for the surface; if this is NA, the default, then palMODWT is used.

boxCol

Outline color for perimeter box.

title

Add a title to the plot if desired. The default (NA) is a title (and subtitles) constructed from the arguments passed. Otherwise, one can pass their own title or title = “” for no title.

showLegend

TRUE: Show the ‘legend’ identifiers around the outside of the maps; FALSE: suppress the legend.

runQuiet

TRUE: No feedback when run; FALSE: Some summary results.

...

Gobbled.

Details

This routine uses plotMODWT2D to generate each of the individual subfigures, which can be altered using the arguments above that are in common to plotMODWT2D.

Please see the details in plotMODWT2D and the vignette for more information and examples.

Value

The final “RasterLayer” object invisibly.

Author(s)

Jeffrey H. Gove

See Also

plotMODWT2D

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#
# 1. creates a sampSurf object with horizontal point sampling
# 2. creates a J_0 = 3-level MODWT decomposition object
# 3. a basic plot...
#
tr = Tract(c(x = 64, y = 64), cellSize = 1) #square tract ~0.5ha
btr = bufferedTract(10, tr)
ag3m = angleGauge(3)        #metric BAF
sshps = sampSurf(10, btr, iZone = 'horizontalPointIZ', angleGauge = ag3m,
        topDiam = c(0,0), startSeed = 123)
modwt.hps = ssMODWT(sshps, J = 3)
## Not run: 
r2 = plotLevel2D(modwt.hps, type = 'var')

## End(Not run)

ssWavelets documentation built on May 2, 2019, 5:54 p.m.