to_html: Converts population graph to html file for interactive...

View source: R/to_html.R

to_htmlR Documentation

Converts population graph to html file for interactive viewing

Description

This function takes a population graph that has been 'decorated' with sufficient spatial data to make a html file that uses the D3 visualization javascript mateirals to view it interactively.

Usage

to_html(graph, file)

Arguments

graph

A popgraph object.

file

The path to the html file to be saved. If not given then the html text is returned by the function.

Value

The text of the html file to be saved or viewed in the appropriate browser.

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


dyerlab/popgraph documentation built on July 22, 2022, 5:42 p.m.