Re: [R] How can I access information stored after I run a command in R?

2012-01-23 Thread Weiser, Constantin
... tmp.result <- MAX3(a,"asy",1) tmp.result$p.value __ 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-cont

Re: [R] How can I access information stored after I run a command in R?

2012-01-23 Thread Tiago V. Pereira
I would like to thank Justin and Matthias for their very helpful on my query (see it below). All the best, Tiago Dear all, Supposed I run the following command: ### #install.packages("Rassoc", dependencies=TRUE) library("Rassoc") ca=c(139,249,112) co=c(136,244,12

Re: [R] How can I access information stored after I run a command in R?

2012-01-23 Thread Justin Haynes
?str tells you about the object. str(MAX3(a,'asy',1)) from that you can see the names of the various parts including p.value. foo <- MAX3(a,'asy',1)$p.value On Mon, Jan 23, 2012 at 9:32 AM, Tiago V. Pereira wrote: > Dear all, > > Supposed I run the following command: > >

[R] How can I access information stored after I run a command in R?

2012-01-23 Thread Tiago V. Pereira
Dear all, Supposed I run the following command: ### #install.packages("Rassoc", dependencies=TRUE) library("Rassoc") ca=c(139,249,112) co=c(136,244,120) a=rbind(ca,co) MAX3(a,"asy",1) ## I get: The MAX3 test using the asy method