Hello,

I am writing a test function, and would like to have it return an
appropriate 'htest'
object. This is very easy, but the test can be run for several orders, a
frequent situation
in time series tests.

It would be nice to return a data.frame with order, params, test statistic,
p.value.

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?


Rui Barradas


--
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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to