powered by
block_matrix(x, steps = NULL, size = NULL, replacement = 0)
# create a square matrix m <- matrix(1:64, nrow=8) # select a block matrix with two steps block_matrix(m, steps=2) # select a block matrix with four steps block_matrix(m, steps=4)
Run the code above in your browser using DataLab