Getting number of rows/columns from csv file in R with condition -
I have a CCV file, with which I have read with the command:
my_data & Lt; There are several columns in it, but I want to get the number of rows, the specific column columns, for example, the number of rows where the column " Value "is 20 more.
I've tried: k & lt; -subset (my_data, my_data $ VAL & gt; 24) length (k) but it does not look right. I do not know how it works.
dim (k) If you have a data frame or Subset (my_data, my_data $ VAL> 24))
Comments
Post a Comment