Gabriele -
How about this:
> data<-c("A","A","A","B","B","C","D")
> data
[1] "A" "A" "A" "B" "B" "C" "D"
> table(data)
data
A B C D
3 2 1 1
Thanks,
Lee
". . . people who focus only on 'what is' will create more of 'what is.'
People who focus mostly on 'what could be' will begin to create 'wh
I, personally, utilize the ifelse(test,statement,statement) function when
possible over the methodology outlined.
Lee P. Adams
Luminant Energy - Fuel and Emissions Strategy
"We must become the change we want to see." -Mahatma Gandhi
-Original Message-
From: r-help-boun...@r-project.or
2 matches
Mail list logo