Displaying 4 results from an estimated 4 matches for "ftable2df".
2020 May 13
7
justify hard coded in format.ftable
Dear all,
I haven't received any feedback so far on my proposal to make "justify" argument available in stats:::format.ftable
Is this list the appropriate place for this kind of proposal?
I hope this follow-up to my message won't be taken as rude. Of course it's not meant to be, but I'm not used to the R mailing lists...
Thank you in advance for your comments,
Best,
2020 May 14
0
justify hard coded in format.ftable
...ab <- table(warpbreaks$wool, warpbreaks$tension)
as.data.frame(tab) # reshaped table
as.data.frame.matrix(tab) # non-reshaped table
To sum up, for the sake of clarity, these proposals address two different topics:
- The justify argument would reduce the need to reformat the exported ftable
- An ftable2df-like function (and the mention of as.data.frame.matrix in the documentation) would facilitate the reuse of ftable results for further analysis.
Thank you very much,
Thomas
> If you are looking at ftable could you also consider adding a way to convert an ftable into a usable data.frame such as...
2020 May 14
0
justify hard coded in format.ftable
...l, warpbreaks$tension)
> as.data.frame(tab) # reshaped table
> as.data.frame.matrix(tab) # non-reshaped table
>
> To sum up, for the sake of clarity, these proposals address two different topics:
> - The justify argument would reduce the need to reformat the exported ftable
> - An ftable2df-like function (and the mention of as.data.frame.matrix in the documentation) would facilitate the reuse of ftable results for further analysis.
>
> Thank you very much,
>
> Thomas
>
> > If you are looking at ftable could you also consider adding a way to convert an ftable into...
2020 May 15
0
ftable <-> data.frame etc {was "justify hard coded in format.ftable"}
>>>>> Gabor Grothendieck
>>>>> on Thu, 14 May 2020 06:56:06 -0400 writes:
> If you are looking at ftable could you also consider adding
> a way to convert an ftable into a usable data.frame such as
> the ftable2df function defined here:
> https://stackoverflow.com/questions/11141406/reshaping-an-array-to-data-frame/11143126#11143126
> and there is an example of using it here:
> https://stackoverflow.com/questions/61333663/manipulating-an-array-into-a-data-frame-in-base-r/61334756#61334756
> B...