Re: [R] listing components of an object

2008-03-03 Thread Patrick Burns
Does names(obj) do what you want? Patrick Burns [EMAIL PROTECTED] +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and A Guide for the Unwilling S User) Nair, Murlidharan T wrote: Is there a method to list the components of an object, instead of looking at the help for that

[R] listing components of an object

2008-03-02 Thread Nair, Murlidharan T
Is there a method to list the components of an object, instead of looking at the help for that method? Let me be more clear with an example data(iris) ## tune `svm' for classification with RBF-kernel (default in svm), ## using one split for training/validation set obj - tune(svm,

Re: [R] listing components of an object

2008-03-02 Thread Charilaos Skiadas
On Mar 2, 2008, at 4:12 PM, Nair, Murlidharan T wrote: Is there a method to list the components of an object, instead of looking at the help for that method? Let me be more clear with an example data(iris) ## tune `svm' for classification with RBF-kernel (default in svm), ## using