unstack.msr | R Documentation |
Converts a vector-valued measure into a list of scalar-valued measures.
## S3 method for class 'msr' unstack(x, ...)
x |
A measure (object of class |
... |
Ignored. |
This is a method for the generic
unstack
for the class "msr"
of measures.
If x
is a vector-valued measure, then
y <- unstack(x)
is a list of scalar-valued measures
defined by the components of x
.
The j
th entry of the list, y[[j]]
, is equivalent to
the j
th component of the vector measure x
.
If x
is a scalar-valued measure, then
the result is a list consisting of one entry, which is x
.
A list of measures, of class "solist"
.
.
unstack
unstack.ppp
split.msr
.
fit <- ppm(cells ~ x) m <- residuals(fit, type="score") m unstack(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.