doubleplotter {ShapePattern}R Documentation

A comparison of two maps based on their empirical (null) distributions for a class-focused pattern metric

Description

This function produces boxplots comparing the expected values (empirical, null distributions) for a given class-focused pattern metric between two maps.

Usage

doubleplotter(data1 = data$result1, 
  data2 = data$result2,  
  metric = 5)

Arguments

data1

This is the result object for the first map to be compared, where the output is returned by the function singlemap.

data2

This is the result object for the second map to be compared, where the output is returned by the function singlemap.

metric

This is an integer (1-110) indicating which metric the comparison boxplots will be drawn for. A list of these metrics is given in the header of the function's source code.

Details

No additional details at this time.

Value

The output is a double boxplot drawn on the graphics device.

Note

No additional notes at this time.

Author(s)

Tarmo K. Remmel

References

No references at this time.

See Also

See Also singlemap, singleplotter, and imaks.

Examples

# EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
# BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST, ONCE FOR EACH
# MAP TO BE COMPARED (FOR EXAMPLE)
#result1 <- singlemap(IMG = data$demoimage1, VERBOSE = TRUE, reps = 5, LEVEL=6) 
#result2 <- singlemap(IMG = data$demoimage2, VERBOSE = TRUE, reps = 5, LEVEL=6)
doubleplotter(data1 = data$result1, data2 = data$result2, metric = 5) 

[Package ShapePattern version 3.0.1 Index]