write_png: Output a learner as a PNG image

View source: R/iaitrees.R

write_pngR Documentation

Output a learner as a PNG image

Description

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

Usage

write_png(filename, lnr, ...)

Arguments

filename

Where to save the output.

lnr

The learner to output.

...

Refer to the Julia documentation for available parameters.

Details

Julia Equivalent: IAI.write_png

Examples

## Not run: iai::write_png(file.path(tempdir(), "tree.png"), lnr)


iai documentation built on July 9, 2023, 5:41 p.m.