Carl,
If I understand your drift below, I think this might be what you are after
Reduce( c , rev(split(tbag, tbag ) ) , accumulate =TRUE )
or maybe just
Reduce( c , rev(split(tbag, tbag ) ) )
which is the same as
sort( tbag, decreasing = TRUE )
for many purposes.
Ok, so I'm slowly figuring out what a factor is, and was able to follow
the related thread about finding a mode by using constructs like
my_mode = as.numeric(names(table(x))[which.max(table(x))])
Now, suppose I want to keep looking for other modes? For example,
Rgames
2 matches
Mail list logo