Skip to content
Prev 66958 / 398506 Next

Object item extraction

Any R output is an object you can manipulate basically using
exctractions functions $, [ and [[
To look at the content of the object, try:
And (in this case)
Then you can extract what you need, such as:
[1] 0.02158191    (an other model...)

 1.419101  1.000000 18.000000
value     numdf     dendf 
 1.419101  1.000000 18.000000
[1] 1.419101

HTH,

Eric



Eric Lecoutre
UCL /  Institut de Statistique
Voie du Roman Pays, 20
1348 Louvain-la-Neuve
Belgium

tel: (+32)(0)10473050
lecoutre at stat.ucl.ac.be
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre

If the statistics are boring, then you've got the wrong numbers. -Edward
Tufte