test_image {EFDR}R Documentation

Create a test image

Description

This function generates an image for test purposes. The image is that of a filled circle at the centre.

Usage

test_image(h = 1, r = 10, n1 = 64, n2 = 64)

Arguments

h

amplitude of the filled circle

r

radius of the circle (in pixels)

n1

image height in pixels

n2

image width in pixels

Value

List with two elements

z

the test image

signal.grid

the x-y grid in long table format

References

Shen, X., Huang, H.-C., and Cressie, N. 'Nonparametric hypothesis testing for a spatial signal.' Journal of the American Statistical Association 97.460 (2002): 1122-1140.

Examples

Z <- test_image()$z

[Package EFDR version 1.3 Index]