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
Dear @gdemin,
I find that {expss} is a nice package to create tables, even for those handling non labelled variables or values!
When dealing with multiple variables, in the absence of variable labels, I was wondering if you could implement column names as a back up could improve the display.
Here is an example comparing the default behaviour and the application of a small work-around implementing the idea:
library(expss)
#> #> Use 'expss_output_rnotebook()' to display tables inside R Notebooks.#> To return to the console output, use 'expss_output_default()'.
expss_output_rnotebook()
iris_small<- head(iris, n=2)
calculate(iris_small, fre(list(Sepal.Length, Sepal.Width)))
I think that doing this internally, would save the trouble of people not handling labels to do so and the documented way seems fastidious for many columns, but perhaps I missed something:
Dear @courtiol,
Thank you for your suggestion. I definitely will do something about this in the next release.
Unfortunately, we can't use list here because list lose information about variable names. And I will need to do complex parsing inside function which can lead to bugs.
Most likely, fre will utilize data.frame names when there are no labels. Something like this:
Dear @gdemin,
I find that {expss} is a nice package to create tables, even for those handling non labelled variables or values!
When dealing with multiple variables, in the absence of variable labels, I was wondering if you could implement column names as a back up could improve the display.
Here is an example comparing the default behaviour and the application of a small work-around implementing the idea:
Created on 2020-11-17 by the reprex package (v0.3.0)
I think that doing this internally, would save the trouble of people not handling labels to do so and the documented way seems fastidious for many columns, but perhaps I missed something:
Created on 2020-11-17 by the reprex package (v0.3.0)
Thanks for considering this feature request
Alex
The text was updated successfully, but these errors were encountered: