# S3 method for GeneralTree as.data.frame(x, row.names = NULL, optional = NULL, ...)
Convert a GeneralTree to a data frame.