If you want to sort see ?sort 
If you want to get subsample see ?subset 
 
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.



----- Message d'origine ----
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Jeudi, 19 Octobre 2006, 10h13mn 46s
Objet : [R] extract arguments from a list


Hi,

I would like to know how to extract the arguments from a list :

For example, I have a list of charchacter x
x<- 
c("Bentazone","Atrazine","Epoxiconazol","Metolachlor","Epoxiconazol","Atrazine 
desethyl","Fenpropimorph","Epoxiconazol","Metolachlor","Simazine","Atrazine 
desethyl","Epoxiconazol","Atrazine 
desethyl","Atrazine","Epoxiconazol","Metolachlor","Epoxiconazol","Atrazine 
desethyl","Fenpropimorph","Epoxiconazol","Metolachlor","Simazine")

and I am searching for a (basic) function which would return arguments of 
the list x, aphabeticaly reordered like this :
("Atrazine","Atrazine 
desethyl","Bentazone","Epoxiconazol","Fenpropimorph","Metolachlor","Simazine").


Can anyone help me ?


Thanks by advance

Jessica




    [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.


        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 


        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to