Problems writing code for an R DT summarizing result across multiple studies with collapsable child rows
问题 I'm trying to make an interactive table summarizing the top result of an outcome tested in multiple studies, and I would also like the user to access more detailed results via child rows. Only the "top" model with the smallest p-value is shown in the main table. Right now I have the relevant results into two data frames: 1. top result only, and 2. detailed results. I am merging these and nesting based on the top results which I want to display. library(DT) library(tidyr) library(dplyr)