Here is my sample data
head( seismic_raw, n = 10)
date mo day hr mn sec lat long depth mw
1 2000 1 1 1 19 28.3 41.950N 20.63 5 4.8
2 2000 1 1 4 2 28.4 35.540N 22.76 22 3.7
3 2000 1 2 10 44 10.9 35.850N 27.61 3 3.7
I'm getting an error when running:
seismic <- count(seismic_raw,c('date', 'mo'))
Error: length(rows) == 1 is not TRUE