as_tidygraph_list: Get posterior tree draws into 'tbl_graph' format from...

Description Usage Arguments Value

View source: R/tidygraph-funs.R

Description

Creates a list of tbl_graph's. Each element of list corresponds to a particular MCMC iteration (iter) and tree id (tree_id). See tbl_graph for details.

Usage

1
as_tidygraph_list(model, extra_cols, label_digits = 2)

Arguments

model

BART model.

extra_cols

Extra columns to be included.

label_digits

Rounding for labels.

Value

List of tbl_graph.


bonStats/eatmyshorts documentation built on June 1, 2020, 5:42 p.m.