[R] printing all htest class members

David Winsemius dwinsemius at comcast.net
Thu Dec 15 21:33:32 CET 2011


On Dec 15, 2011, at 2:16 PM, Rui Barradas wrote:

> You're right, David,
>
> The first line is wrong, it should be
>
> ...  df=2:4  ...
>
> As for creating something, try
>
>> ht <- structure( ... etc ...
>> ht
>> class(ht)
>
> See what is printed and what function prints it.

Well, the function is stats:::print.htest.

(Do not expect any further replies to emails sent without context.)

#---------------------------------------------------#
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
#---------------------------------------------------#
>

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list