Hi, In this case, str() would help you a lot too to understand the structure of your ft object, and especially which element contains what. Ivan
Le 9/20/2010 04:59, Michael Bedward a écrit : > A good function to know about is names(). For example... > > ft<- fisher.test( my.data ) > names(ft) > > Produces the following listing... > [1] "p.value" "conf.int" "estimate" "null.value" > "alternative" "method" "data.name" > > You can then access any of those attributes with the "$" operator as > you did with p.value > > > On 20 September 2010 12:03, selthy<sel...@hotmail.com> wrote: >> Great! I'm loving this forum. I'm slowly teaching myself the basics of R, but >> in the meantime this is saving me a lot of time in the data analysis phase >> (I'm a molecular biologist). Thanks again! >> -- >> View this message in context: >> http://r.789695.n4.nabble.com/Converting-tables-to-matrices-tp2543309p2546450.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. >> > ______________________________________________ > 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. > -- Ivan CALANDRA PhD Student University of Hamburg Biozentrum Grindel und Zoologisches Museum Abt. Säugetiere Martin-Luther-King-Platz 3 D-20146 Hamburg, GERMANY +49(0)40 42838 6231 ivan.calan...@uni-hamburg.de ********** http://www.for771.uni-bonn.de http://webapp5.rrz.uni-hamburg.de/mammals/eng/mitarbeiter.php [[alternative HTML version deleted]]
______________________________________________ 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.