Re: [R] Standard deviation and Mean

2011-06-15 Thread Daniel Malter
I post my replies through nabble. The second one, I can do. However, I would
assume that subscribers would not only see my reply, but also the original
reply, since the forum and email programs/platforms provide threaded msg-ing
these days, or not? 

The first seems to be an either/or option in nabble, either private msg or
for everyone to see, but not both.

Da.


Uwe Ligges-3 wrote:
> 
> On 14.06.2011 22:29, Daniel Malter wrote:
>> Hi,
>>
>> pick up any introductory manual of which there are many online. It so
>> happens that the functions for mean and sd are called mean() and sd(). If
>> you want to know how to use them type ?mean or ?sd in the R-prompt and
>> hit
>> enter.
> 
> 
> ... and some rants back. Can you please
> 
> 1. also reply to the original sender who may not be subscribed to the 
> list and hence never receives the answer
> 2. quote the messages you are referring to, mailing list readers of this 
> R-help *mailing list* won't see it otherwise
> 
> Uwe Ligges
> 
> 
> 
> 
> 
>> Daniel
>>
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/Standard-deviation-and-Mean-tp3597521p3597734.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> __
>> R-help@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@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.
> 

--
View this message in context: 
http://r.789695.n4.nabble.com/Standard-deviation-and-Mean-tp3597521p3599404.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] Standard deviation and Mean

2011-06-15 Thread Uwe Ligges

On 14.06.2011 22:29, Daniel Malter wrote:

Hi,

pick up any introductory manual of which there are many online. It so
happens that the functions for mean and sd are called mean() and sd(). If
you want to know how to use them type ?mean or ?sd in the R-prompt and hit
enter.



... and some rants back. Can you please

1. also reply to the original sender who may not be subscribed to the 
list and hence never receives the answer
2. quote the messages you are referring to, mailing list readers of this 
R-help *mailing list* won't see it otherwise


Uwe Ligges






Daniel

--
View this message in context: 
http://r.789695.n4.nabble.com/Standard-deviation-and-Mean-tp3597521p3597734.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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@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.


Re: [R] Standard deviation and Mean

2011-06-14 Thread Daniel Malter
Hi,

pick up any introductory manual of which there are many online. It so
happens that the functions for mean and sd are called mean() and sd(). If
you want to know how to use them type ?mean or ?sd in the R-prompt and hit
enter.

Daniel

--
View this message in context: 
http://r.789695.n4.nabble.com/Standard-deviation-and-Mean-tp3597521p3597734.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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.


Re: [R] Standard deviation and Mean

2011-06-14 Thread jdanielnd
Well, it depends on what mean and sd do you want to calculate.

If it's the mean of the variation or frequency mean and sd from the showed
variables, you should do:
> mean(variation)
> sd(variation)
> mean(frequency)
> sd(frequency)

However, if you want to calculate the mean of variation, taking into account
the frequency it has, i.e., a weighted mean, then you should do:
> weighted.mean(variation,frequency)

HTH,

Joao Daniel

--
View this message in context: 
http://r.789695.n4.nabble.com/Standard-deviation-and-Mean-tp3597521p3597628.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@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] Standard deviation and Mean

2011-06-14 Thread Won Cheol Yim
Dear R-help,

Hi

I've got data table with variation and freqeuncy.

I don't know how to get mean and sd.

Please help me.

Cheers.

==
variation frequency
0.503 79930
0.174 291140
-0.444 95916
-0.731 11451
0.453 102899
0.596 46133
-0.295 204859
0.013 390121
0.311 187552
-0.085 378902
-0.633 28164
0.175 291411
0.611 41903
0.318 183254
-0.661 22580
0.149 312574
0.594 46903
-0.557 47839
-0.451 92145
0.225 252013
0.870 3731
-0.552 50048
-0.786 4997
-0.445 95784
-0.501 68721
-0.284 214963

=





-- 
Won Cheol Yim, MSc.
Doctoral student
Plant molecular genetics lab.
Dept. of plant biotechnology
Graduate School
Dongguk University
Korea Rep.

Contact
Cell : +82 10 3853 3926
VoIP : +82 70 8226 3853
Email : asce...@dongguk.edu
Curriculum Vitae : http://ascendo.u.googlepages.com/
Lab page : http://pmgl.dongguk.edu/
 fly.

[[alternative HTML version deleted]]

__
R-help@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.