Spatial Networks in R

coords_to_vertexes | Convert Latitude and Longitude Coordinates to igraph Vertexes |

extract_coords_g | Extract Longitude and Latitude Coordinates from igraph graph |

graph_weights | Create a weighted graph based on distances between vertices. |

king_graph | Create an m by n king's graph. |

make_coords | Create a matrix of logitude and latitude coordinates. |

make_coords_angle | Angled grid of coordinates |

remove_intersecting_edges | Remove intersecting edges |

remove_vertices_over_land | Remove vertices over land |

rotation_matrix | Rotation matrix |

setup_graph | Create a spatial igraph object |

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.