Create HTML files to view figures in browser.

Share:

Description

Writes a set of HTML files with tabbed navigation between them. Depends on SS_plots with settings in place to write figures to PNG files. Should open main file in default browser automatically.

Usage

1
2
3
SS_html(replist = NULL, plotdir = "plots", plotInfoTable = NULL,
  title = "SS Output", width = 500, openfile = TRUE, multimodel = FALSE,
  filenotes = NULL, verbose = TRUE)

Arguments

replist

Object created by SS_output

plotdir

Directory where PNG files are located.

plotInfoTable

CSV file with info on PNG files. By default, the plotdir directory will be searched for files with name beginning 'plotInfoTable*'

title

Title for HTML page.

width

Width of plots (in pixels).

openfile

Automatically open index.html in default browser?

multimodel

Override errors associated with plots from multiple model runs. Only do this if you know what you're doing.

filenotes

Add additional notes to home page.

verbose

Display more info while running this function?

Note

By default, this function will look in the directory where PNG files were created for CSV files with the name 'plotInfoTable...' written by 'SS_plots. HTML files are written to link to these plots and put in the same directory. Please provide feedback on any bugs, annoyances, or suggestions for improvement.

Author(s)

Ian Taylor

See Also

SS_plots, SS_output

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.