Skip to contents

The as.data.frame(), as_tibble(), and as.tibble() methods return the node-splitting summaries in a data frame or tibble.

Usage

# S3 method for nodesplit_summary
print(x, ..., digits = 2)

# S3 method for nodesplit_summary
as_tibble(x, ..., nest = FALSE)

as.tibble.nodesplit_summary(x, ..., nest = FALSE)

# S3 method for nodesplit_summary
as.data.frame(x, ...)

Arguments

x

A nodesplit_summary object

...

Additional arguments passed on to other methods

digits

Integer number of digits to display

nest

Whether to return a nested tibble, with the full nma_summary and nma_dic objects, or to unnest their summaries, default FALSE

Value

A data.frame for as.data.frame(), a tbl_df for as.tibble()

and as_tibble().

The print() method returns x invisibly.