Open discoleo opened 1 year ago
It is possible to build a coupled process which transitions matrix 1 into matrix 2.
# t = Mixing parameter; as.grid.m2 = function(m1, m2, t, p=0.5, val = c(-1, 0)) { isBlock = ((1-t)*m1 + t*m2) < p; m = array(val[2], dim = dim(m1)); m[isBlock] = val[1]; return(m); }
Process between 2 Matrices
It is possible to build a coupled process which transitions matrix 1 into matrix 2.
R Code