-1

I am new on R. I want to ask, How to find frequency of each Number in Column, there are multiple numbers in column. i want to frequency of each number. I want just simple code. You can imagine that data set name is Oct-TT. Thanks

Maxim
  • 52,561
  • 27
  • 155
  • 209

1 Answers1

0

Here is the answer:

df <- as.data.frame(sample(10:20, 20,replace=T))
colnames(df) <- "Numbers"
View(df)

as.data.frame(table(df$Numbers))
Ravindar G
  • 17
  • 6