Description Usage Arguments Value

Return those elements in the second set *Z_1* which are connected to
those in the first set *Z_0*, according to the adjacency matrix.

1 | ```
connected_to(Z_0, Z_1, adjacency_matrix)
``` |

`Z_0` |
A set of locations, given as integers. |

`Z_1` |
A set of locations, given as integers. |

`adjacency_matrix` |
A boolean matrix, with element |

A set, possibly empty, containing those locations in *Z_1*
that are connected to any of the locations in *Z_0*.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.