[R] How to identify data structure?

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Jan 21 19:22:30 CET 2012



On 21.01.2012 19:12, Ajay Askoolum wrote:
> data(AirPassengers) brings AirPassengers into the workspace. How can I  idenfity what the structure of AirPassengers is? Is it a data.frame, a table etc. etc.


1. read the help page!
?AirPassengers

2. Look at the structure by
str(AirPassengers)

Uwe Ligges

> 	[[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.



More information about the R-help mailing list