Re: [R] Function to tell you how an object is put together

From: Ingmar Visser <i.visser_at_uva.nl>
Date: Mon, 10 Dec 2007 10:23:43 +0100

str goes a long way in doing that
hth, Ingmar

On 8 Dec 2007, at 21:07, Thomas L Jones, PhD wrote:

> Question: Suppose I have an arbitrary object. Is there a function
> which will
> accept the object as an argument and sort of give the format of
> the object,
> how it is put together, etc.? The analysis would include the
> attributes and
> the names of the attributes. Also, things like whether or not the
> object is
> an array; whether or not it is a matrix, etc.
>
> Tom Jones
>
> ______________________________________________
> R-help_at_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.

Ingmar Visser
Department of Psychology, University of Amsterdam Roetersstraat 15
1018 WB Amsterdam
The Netherlands
t: +31-20-5256723

        [[alternative HTML version deleted]]



R-help_at_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. Received on Mon 10 Dec 2007 - 09:35:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Dec 2007 - 10:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.