You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been summarizing data for various reports and forcing my tables as etable objects in order to leverage xl_write from the expss package to write out my tables.
I have a question: is there a way to specify the column names for the columns generated from the row_labels variable of an etable object?
I'm going to assume no, and if so, could I request this be incorporated? Based on how an etable object is structured, perhaps we could incorporate this using a call like set_column_names_of_row_labels('c1|c2') that one could pipe the etable object into, where the function adds a column_names_of_row_labels attribute, similar to how set_caption sets the caption attribute.
Thank you for your considerations.
The text was updated successfully, but these errors were encountered:
But there is an issue - labels for the first column don't split with "|". And that's why they all stay in the first column.
I will look how I can fix it without breaking something.
Ahh, I thought the row_labels column had to be called row_labels. Being able to rename that column would definitely make it consistent with the other columns.
Let me know when you've fully incorporate this and I will test it out. Thanks!
Hi,
I've been summarizing data for various reports and forcing my tables as
etable
objects in order to leveragexl_write
from theexpss
package to write out my tables.I have a question: is there a way to specify the column names for the columns generated from the
row_labels
variable of anetable
object?Here's an example:
Is there a way to set the first two column names to be
c1
andc2
, similar to:I'm going to assume no, and if so, could I request this be incorporated? Based on how an
etable
object is structured, perhaps we could incorporate this using a call likeset_column_names_of_row_labels('c1|c2')
that one could pipe theetable
object into, where the function adds acolumn_names_of_row_labels
attribute, similar to howset_caption
sets thecaption
attribute.Thank you for your considerations.
The text was updated successfully, but these errors were encountered: