R tends to see the ordering of factor levels as a property of the data
rather than a property of the table/graph. So it is generally best to
modify the data object (factor) to represent what you want rather than
look for an option in the table/plot function (this will also be more
efficient in
On 03/08/2012 03:46 PM, Manish Gupta wrote:
Hi,
I am working on categorical data with column as disease name(categaory).
My input data is
[1] Acute lymphoblastic leukemia (childhood)
[2] Adiponectin levels
[3] Adiponectin levels
[4] Adiponectin levels
[5] Adiponectin levels
[6]
-help@r-project.org
Subject: [R] How to sort frequency distribution table?
Hi,
I am working on categorical data with column as disease name(categaory).
My input data is
[1] Acute lymphoblastic leukemia (childhood)
[2] Adiponectin levels
[3] Adiponectin levels
[4] Adiponectin levels
Hi,
I am working on categorical data with column as disease name(categaory).
My input data is
[1] Acute lymphoblastic leukemia (childhood)
[2] Adiponectin levels
[3] Adiponectin levels
[4] Adiponectin levels
[5] Adiponectin
Hi
Just order your table output.
xx-sample(letters[1:5], 100, replace=T)
yy-table(xx)
barplot(yy[order(yy, decreasing=T)])
Regards
Petr
Hi,
I am working on categorical data with column as disease name(categaory).
My input data is
[1] Acute lymphoblastic leukemia (childhood)
5 matches
Mail list logo