Hi people!
I have the following Table (named "tabela").
The collum "corrida" is the first six numbers of the collum "indicado".
I need to count the number of equal (identical) rows in "corrida" and store in a variable.
How can I do this?
Hi people!
I have the following Table (named "tabela").
The collum "corrida" is the first six numbers of the collum "indicado".
I need to count the number of equal (identical) rows in "corrida" and store in a variable.
How can I do this?
table(tabela$corrida)
You can use n_distinct()
from dplyr
:
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.