How to make a count of repeated arguments in R

0

I have a spreadsheet, I have to do some operations on the data, so I exported to the R and manages to select the important arguments, now I need to know how many repeated elements there are in a column: for example

PRTR4: 4 VALE5: 20 . . .

How can I make this count?

    
asked by anonymous 09.03.2018 / 21:03

1 answer

2

Take a look at the table function. But what's more, it would be interesting to improve your question by making your dataset available, or a part of it (function dput ).

table(ColunadeInteresse)
    
10.03.2018 / 11:53