Learn R Programming

spMC (version 0.3.15)

print.multi_transiogram: Printing Theoretical Multidimensional Transiograms

Description

The function prints theoretical transition probabilities given by predict.multi_tpfit.

Usage

# S3 method for multi_transiogram
print(x, ...)

Value

Transition probabilities are printed on the screen or other output devices. No values are returned.

Arguments

x

an object of the class multi_transiogram, typically with the output of the function predict.multi_tpfit.

...

further arguments passed to or from other methods.

Author

Luca Sartore drwolf85@gmail.com

See Also

predict.multi_tpfit

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab