is.multi_transiogram {spMC} | R Documentation |
Object test for multi_transiogram class
Description
Function to test if an object is of the class multi_transiogram
.
Usage
is.multi_transiogram(object)
Arguments
object |
object to be tested. |
Details
The function returns TRUE
if and only if its argument is a multi_transiogram
object.
Value
A logical value.
Author(s)
Luca Sartore drwolf85@gmail.com
See Also
Examples
data(ACM)
# Estimate the parameters of a
# multidimensional MC model
RTm <- multi_tpfit(ACM$MAT3, ACM[, 1:3])
# Generate the matrix of
# multidimensional lags
lags <- expand.grid(X=-1:1, Y=-1:1, Z=-1:1)
lags <- as.matrix(lags)
# Compute transition probabilities
# from the multidimensional MC model
TrPr <- predict(RTm, lags)
# Test the object TrPr
is.multi_transiogram(TrPr)
[Package spMC version 0.3.15 Index]