In one of the recent bayestestR PRs (easystats/bayestestR#673 & easystats/bayestestR#672) some of the printing methods have adopted allowing for arbitrary columns in the resulting data frame objects. This was done by setting a new type of attribute called idvars the contained the names of the columns that don't hold the "statistical" information, but information used to identify the rows.
I've found this to better and more stable than keeping track of all possible column names, and very flexible.
I wonder if this should be used across easystats? We can have several "classes" of such attributes - idvars, grouping-vars, etc....
These could be useful if "detected" by the various formatting and printing methods in parameters (which is why I've opened this issue here, but feel free to move it elsewhere) and in insight (maybe also datawizard, correlation and modelbased?).
WDYT? @easystats/core-team
In one of the recent
bayestestRPRs (easystats/bayestestR#673 & easystats/bayestestR#672) some of the printing methods have adopted allowing for arbitrary columns in the resulting data frame objects. This was done by setting a new type of attribute calledidvarsthe contained the names of the columns that don't hold the "statistical" information, but information used to identify the rows.I've found this to better and more stable than keeping track of all possible column names, and very flexible.
I wonder if this should be used across
easystats? We can have several "classes" of such attributes -idvars, grouping-vars, etc....These could be useful if "detected" by the various formatting and printing methods in
parameters(which is why I've opened this issue here, but feel free to move it elsewhere) and ininsight(maybe alsodatawizard,correlationandmodelbased?).WDYT? @easystats/core-team