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

Computes or plots an image showing the likelihood ratio test statistic for the scan test, or the optimal circle radius.

1 2 3 4 5 6 |

`x,X` |
Result of a scan test. An object of class |

`...` |
Arguments passed to |

`what` |
Character string indicating whether to produce an image of the
(profile) likelihood ratio test statistic ( |

`do.window` |
Logical value indicating whether to plot the original window of the data as well. |

These functions extract, and plot, the spatially-varying value of the likelihood ratio test statistic which forms the basis of the scan test.

If the test result `X`

was based on circles of
the same radius `r`

, then `as.im(X)`

is a pixel image
of the likelihood ratio test statistic as a function of the
position of the centre of the circle.

If the test result `X`

was based on circles of
several different radii `r`

, then `as.im(X)`

is a pixel image
of the profile (maximum value over all radii `r`

)
likelihood ratio test statistic as a function of the
position of the centre of the circle, and
`as.im(X, what="radius")`

is a pixel image giving
for each location *u* the value of `r`

which maximised
the likelihood ratio test statistic at that location.

The `plot`

method plots the corresponding image.

The value of `as.im.scan.test`

is a pixel image (object of
class `"im"`

). The value of `plot.scan.test`

is `NULL`

.

and \rolf

1 2 3 4 5 6 7 8 9 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.