| relevel.im | R Documentation |
For a pixel image with factor values, or a point pattern with
factor-valued marks, the levels of the factor are re-ordered so that
the level ref is first and the others are moved down.
## S3 method for class 'im'
relevel(x, ref, ...)
## S3 method for class 'ppp'
relevel(x, ref, ...)
## S3 method for class 'ppx'
relevel(x, ref, ...)
x |
A pixel image (object of class |
ref |
The reference level. |
... |
Ignored. |
These functions are methods for the generic
relevel.
If x is a pixel image (object of class "im") with
factor values, or a point pattern (object of class "ppp",
"ppx", "lpp" or "pp3")
with factor-valued marks, the levels of the factor are changed so
that the level specified by ref comes first.
Object of the same kind as x.
and \ege
mergeLevels
amacrine
relevel(amacrine, "on")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.