[R] Identifying objects from a data set

jim holtman jholtman at gmail.com
Mon Sep 17 01:25:51 CEST 2007


Have you tried 'str'?  What 'nature of the object' are you trying to identify?

On 9/16/07, Letticia Ramlal <lramlal at claflin.edu> wrote:
> Hello
> Given the following data for a data set called airquality. To identify the nature of the objects from the data set airquality example "Ozone" would it be best to use the command is. like is.character(airquality$Ozone) ....... I tried attributes(airquality$Ozone) but it came up null. Would there be a better way to identify these objects.
>
> Thanking you in advance for your assistance with my question.
>
>
>  Ozone Solar.R Wind Temp Month Day
> 1      41     190  7.4   67     5   1
> 2      36     118  8.0   72     5   2
> 3      12     149 12.6   74     5   3
> 4      18     313 11.5   62     5   4
> 5      NA      NA 14.3   56     5   5
> 6      28      NA 14.9   66     5   6
> 7      23     299  8.6   65     5   7
> 8      19      99 13.8   59     5   8
> 9       8      19 20.1   61     5   9
> 10     NA     194  8.6   69     5  10
> 11      7      NA  6.9   74     5  11
> 12     16     256  9.7   69     5  12
> 13     11     290  9.2   66     5  13
>
> ______________________________________________
> 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.
>


-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list