Thanks for the links. I agree that such a feature would be a nice addition, and
could make ftable even more useful.
In the same spirit, I think it could be useful to mention the undocumented
base::as.data.frame.matrix function in documentation of table and xtabs (in
addition to the already ment
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:
One can use as.data.frame(as.matrix(tab)) to avoid calling
as.data.frame.matrix directly
(although I find I do use as.data.frame.matrix anyways sometimes even
though it is generally
better to call the generic.).
Also note that the various as.data.frame methods do not address the examples
in the
I suspected it was partly due to the fact that ftable doesn't get much
interest/isn't much used...
So thank you very much for answering, and for your time!
>> Dear all,
>> I haven't received any feedback so far on my proposal to make "justify"
>> argument available in stats:::format.ftable
>>
>
> SOEIRO Thomas
> on Wed, 13 May 2020 20:27:15 + writes:
> 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?
Yes, it is.. Ac
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 us
Dear all,
justify argument is hard coded in format.ftable:
cbind(apply(LABS, 2L, format, justify = "left"),
apply(DATA, 2L, format, justify = "right"))
It would be useful to have the possibility to modify the argument between
c("left", "right", "centre", "none") as in format.default.
The