nodesplit_summary-methods function

Methods for nodesplit_summary objects

Methods for nodesplit_summary objects

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

## S3 method for class 'nodesplit_summary' print(x, ..., digits = 2) ## S3 method for class 'nodesplit_summary' as_tibble(x, ..., nest = FALSE) as.tibble.nodesplit_summary(x, ..., nest = FALSE) ## S3 method for class '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

Returns

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

and as_tibble().

The print() method returns x invisibly.

See Also

plot.nodesplit_summary()