View source: R/is.multi_transiogram.R
is.multi_transiogram | R Documentation |
Function to test if an object is of the class multi_transiogram
.
is.multi_transiogram(object)
object |
object to be tested. |
The function returns TRUE
if and only if its argument is a multi_transiogram
object.
A logical value.
Luca Sartore drwolf85@gmail.com
predict.multi_tpfit
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.