View source: R/print.multi_transiogram.R
print.multi_transiogram | R Documentation |
The function prints theoretical transition probabilities given by predict.multi_tpfit
.
## S3 method for class 'multi_transiogram'
print(x, ...)
x |
an object of the class |
... |
further arguments passed to or from other methods. |
Transition probabilities are printed on the screen or other output devices. No values are returned.
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)
# Print results
print(TrPr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.