[R] Need fresh eyes to see what I'm missing
r@hep@rd @end|ng |rom @pp|-eco@y@@com
Tue Sep 14 17:41:15 CEST 2021
On Tue, 14 Sep 2021, Eric Berger wrote:
> Before you create vel_by_month you can check vel for NAs and NaNs by
There should not be any missing values in the data file. Regardless, I added
those lines to the script and it made no difference.
Running those commands on the R command line showed these results:
Yet the monthly summaries retain the initial line:
# A tibble: 67 × 3
# Groups: year 
year month flow
<int> <int> <dbl>
1 0 NA NaN
I've another data set with the same issue (that's 2 out of 5) and I assume
the source of the problem is the same with both.
The data sets have no NAs or missing values at the end of a line.
Thanks for the ideas,
More information about the R-help