diff --git a/R/plot_tree.R b/R/plot_tree.R index 2f015b8..a1bd308 100644 --- a/R/plot_tree.R +++ b/R/plot_tree.R @@ -248,13 +248,7 @@ append_interactivity_data <- function(ggobj, } } - ggobj$data$mouseover <- sapply(seq_along(ttdfs), function(i) { - paste0( - "Statistics:\n", ttdfs[i], - "\n", - collapse = "\n" - ) - }) + ggobj$data$mouseover <- ttdfs ggobj$data$colour_var <- ggobj$data[[branch_col]] ggobj