[R] Learning R - View datasets
Mario Valle
mvalle at cscs.ch
Fri Nov 27 09:00:48 CET 2009
guohao.huang at gmail.com wrote:
> Please check the following pdf file.
> http://tw.nextmedia.com/applenews/article/art_id/32119622/IssueID/20091127
>
Besides a beautiful blond girl, I do not recognize any pdf here...
Could you provide a direct link?
Thanks!
mario
> 1. First install.packages("Flury")
> 2. library(Flury")
> 3. data("wines")
>
> 'wines’ is a data frame with 26 observations, one factor denoting the
> country of origin and 15
> quantitative variables denoting 15 free monoterpenes and
> C[13]-norisoprenoids. It is thought these
> influence the wine’s aroma.
> Country a factor with levels South Africa Germany Italy
> Y1 a numeric vector
> Y2 a numeric vector
> Y3 a numeric vector
> Y4 a numeric vector
> Y5 a numeric vector
> Y6 a numeric vector
> Y7 a numeric vector
> Y8 a numeric vector
> Y9 a numeric vector
> Y10 a numeric vector
> Y11 a numeric vector
> Y12 a numeric vector
> Y13 a numeric vector
> Y14 a numeric vector
> Y15 a numeric vector
>
> If you do not know how to get these value, you can read ``R introduction''.
> I hope this can help you.
>
>
> Guo-Hao
> Huang
>
>
>
> --------------------------------------------------
> From: "Brock Tibert" <btibert3 at yahoo.com>
> Sent: Friday, November 27, 2009 12:46 PM
> To: <r-help at r-project.org>
> Subject: [R] Learning R - View datasets
>
> 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.
>
> ______________________________________________
> 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.
--
Ing. Mario Valle
Data Analysis and Visualization Group | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the R-help
mailing list