Re: [R] for help

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Tue 24 Oct 2006 - 16:38:33 GMT


Hi

On 24 Oct 2006 at 10:03, Aimin Yan wrote:

Date sent:      	Tue, 24 Oct 2006 10:03:08 -0500
To:             	r-help@stat.math.ethz.ch
From:           	Aimin Yan <aiminy@iastate.edu>
Subject:        	[R] for help

> I have a question in R.
>
> In directory H:/Delta_angle
> I have 19 files like this:
> ALA.delta
> ASN.delta
> ASP.delta
> CYS.delta
> GLN.delta
> GLU.delta
> HIS.delta
> ILE.delta
> LEU.delta
> LYS.delta
> MET.delta
> PHE.delta
> PRO.delta
> SER.delta
> THR.delta
> TRP.delta
> TYR.delta
> VAL.delta
>
> I want to read these files to 19 data sets in R.
> All these data sets have "P","AA",index","delta" columns
> I want to do histogram for variable "delta" in each data set,
> and label the histogram by mean, standard deviation and number of
> observation for "delta" column. Do you know how to do these in R?

I hope I would manage with some effort.

Believe me, you could manage too with similar effort.

Look at

read.table, hist, mean, sd, length help page

Read some intro manual provided with installation, especially R-data and R-intro

Maybe you can look into help archives. At least I do it if I meet some problem.

And before your next post you shall just look into posting guide.

HTH
Petr

>
> thanks
>
> Aimin Yan
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.

Petr Pikal
petr.pikal@precheza.cz



R-help@stat.math.ethz.ch 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 Wed Oct 25 02:58:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 24 Oct 2006 - 17:30:13 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.