Re: [R] variation

From: Jannis <bt_jannis_at_yahoo.de>
Date: Sat, 05 Jun 2010 15:28:21 +0200

Sorry, my remark about the variance and standard deviation was nonsense!   There are functions for both measures in R!

Jannis

Jannis schrieb:
> As far as I know there is no such function (i could be wrong here!). The
> reason for that might be that it is so straightforward to calculate it
> as the ratio of sd() and mean()....for similar reasons there is most
> probably no function for the variance (and only one for std.dev)....I
> would think that the easiest solution for you is to create the function
> (~3 lines of code) yourself!
>
> Cheers
> Jannis
>
> Adel ESSAFI schrieb:

>> 2010/6/5 Adel ESSAFI <adel.safi_at_imag.fr>
>>
>>  
>>> 2010/6/5 Jannis <bt_jannis_at_yahoo.de>
>>>
>>> What exactly do you mean by "variation"? As I understand it, this 
>>> term is a
>>>    
>>>> broad term for all kinds of different "spread measures" (like 
>>>> quantile range
>>>> or standard deviation). Do you mean the Coefficient of Variation? If 
>>>> you
>>>> found out how to
>>>>       
>>>     
>> Yes, that what I mean. But I looked for ready  function :)
>>
>>
>>
>>  
>>> Yes, that what I mean. But I looked for ready  function :)
>>>
>>>
>>>    
>>>> compute the mean and the std.dev., it is straightforward to calculate
>>>> it.....
>>>>
>>>> Adel ESSAFI schrieb:
>>>>
>>>>      
>>>>> Hi list
>>>>> I am a new user of R. I ask for some "beginner" question
>>>>>
>>>>> I am searching if there is any function that computes the variation of
>>>>> some
>>>>> discrete values of a vector (mean() and sd() exists, but i have not 
>>>>> find
>>>>> variation).
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>> Adel
>>>>>
>>>>>
>>>>>  ------------------------------------------------------------------------ 
>>>>>
>>>>>
>>>>>
>>>>> ______________________________________________
>>>>> 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.
>>>>>
>>>>>
>>>>>         
>>>>       
>>> -- 
>>> PhD candidate in Computer Science
>>> Address
>>> 3 avenue lamine, cité ezzahra, Sousse 4000
>>> Tunisia
>>> tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
>>> fax: +216 71 391 166
>>>
>>>     
>>
>>
>>
>>   
>> ------------------------------------------------------------------------
>>
>> ______________________________________________
>> 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. Received on Sat 05 Jun 2010 - 13:30:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 Jun 2010 - 13:40:27 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.

list of date sections of archive