write_pdf: Output a learner as a PDF image

View source: R/iaitrees.R

write_pdfR Documentation

Output a learner as a PDF image

Description

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

Usage

write_pdf(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_pdf

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

## Not run: iai::write_pdf(file.path(tempdir(), "tree.pdf"), lnr)


iai documentation built on Oct. 19, 2024, 1:07 a.m.