Message-ID: <38b9f0350911270007ibe4274cy39b9f860ff623495@mail.gmail.com>
Date: 2009-11-27T08:07:49Z
From: ronggui
Subject: Learning R - View datasets
In-Reply-To: <574212.75332.qm@web36802.mail.mud.yahoo.com>
There are different ways to inspect the conent of a data frame. For example,
>View(CO2)
2009/11/27 Brock Tibert <btibert3 at yahoo.com>:
> Hi All,
>
> I am making a serious effort to try to learn R, but one hurdle I am facing is that I need to "see" the data as I walk through the examples in the packages. ?For instance, many examples on the web start by a command like data("wines"). ?How can I actually view what the dataset looks like prior to transformations and analysis? ?I have tried to use edit() , print, and head.
>
> In short, I know that data() lists all of the available datasets, data("wines") will load the dataset wines, but how can I look at the raw data?
>
> I figure this is probably an easy question, but any help you can provide will be greatly appreciated.
>
> Thanks,
>
> Brock
>
> ______________________________________________
> 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.
>
--
Wincent Ronggui HUANG
Doctoral Candidate
Dept of Public and Social Administration
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html