diagonal_matrix = matrix(c(1, NA, 1,
NA, 0, NA,
1, NA, 1),
byrow = TRUE)
r1 = comat:::create_neighborhood(diagonal_matrix)
t1 = structure(c(-1L, 1L, -1L, 1L, -1L, -1L, 1L, 1L),
.Dim = c(4L, 2L))
Any scripts or data that you put into this service are public.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.