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
            Asked
            
        
        
            Active
            
        
            Viewed 117 times
        
    -1
            
            
        - 
                    3try `?table` and then `table(df$col)` – missuse Oct 24 '17 at 17:47
- 
                    i'm import a column from csv Named: Oct TT. and Column name DNIS. – Uzair Oct 24 '17 at 17:51
- 
                    install.packages(Hmisc); require(Hmisc); describe(Oct-TT) will provide a short an usefull summary of all variables – Cedric Oct 24 '17 at 18:08
1 Answers
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
 
    