Learn R Programming

iai (version 1.10.2)

write_svg: Output a learner as a SVG image

Description

Before using this function, either run load_graphviz or ensure that Graphviz is installed and on the system PATH

Usage

write_svg(filename, lnr, ...)

Arguments

filename

Where to save the output.

lnr

The learner to output.

...

Refer to the Julia documentation for available parameters.

IAI Compatibility

Requires IAI version 2.1 or higher.

Details

Julia Equivalent: IAI.write_svg

Examples

Run this code
if (FALSE) iai::write_svg(file.path(tempdir(), "tree.svg"), lnr)

Run the code above in your browser using DataLab