[R] htest class members and print method
ruipbarradas at sapo.pt
Wed Dec 14 21:45:55 CET 2011
I am writing a test function, and would like to have it return an
object. This is very easy, but the test can be run for several orders, a
in time series tests.
It would be nice to return a data.frame with order, params, test statistic,
After seeing the 'htest' members in the help pages, I discovered that the
class has a 'null.value' member that fits the job (it's what I'm using) but
it's name may be misleading.
Is it possible to create a new member with a new, or at least different,
name and have print.htest correctly print it?
View this message in context: http://r.789695.n4.nabble.com/htest-class-members-and-print-method-tp4196932p4196932.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help