Learn R Programming

pairsD3 (version 0.1.3)

savePairs: Save a pairs plot to an HTML file

Description

Save a pairsD3 graph to an HTML file for sharing with others. The HTML can include it's dependencies in an adjacent directory or can bundle all dependencies into the HTML file (via base64 encoding).

Usage

savePairs(pairs, file, selfcontained = TRUE)

Arguments

pairs

plot to save (e.g. result of calling the function pairsD3).

file

File to save HTML into

selfcontained

Whether to save the HTML as a single self-contained file (with external resources base64 encoded) or a file with external resources placed in an adjacent directory.