Hi all:
Can someone help me count the
number of rows with values in
colum "a" only. assume the name
of my dataframe is "weekly"
I was trying
i<- nrows(weekly$a)
 i
 but returns 7 when it should
 be 4. Thanks
a       b       c     d
                    27.000
                    27.000
1.569   0.013   160.000 27.000
1.632   0.013   146.000 27.000
1.830   0.015   70.000  27.000
2.475   0.019   156.000 27.000
                                      27.000

 Felipe D. Carrillo
  Fishery Biologist
  Department of the Interior
  US Fish & Wildlife Service
  California, USA



      
____________________________________________________________________________________
Be a better friend, newshound, and

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to