[R] with replace na with 0?
@zwj|08 @end|ng |rom gm@||@com
Fri Jun 11 16:37:02 CEST 2021
I did not follow your previous post but your code looks confusing to me
Why do you have 'x' in the first place if all you want is to do the
operation on y? It's like you want to count how many apples you have
but your eyes are looking at peaches. Please rethink your code and
what you want to achieve.
On Fri, Jun 11, 2021 at 10:23 PM Enrico Gabrielli
<enricogabrielli76.peragr using gmail.com> wrote:
> I almost got through the problem in post "aggregation of irregular
> interval time-series"
> I just don't understand how to fix that when I try
> if y is na
> replaces me with 0
> and not with na
> Thank you
> Perito agrario Enrico Gabrielli
> Tessera n. 633 Collegio Periti agrari prov. Di Modena
> Biblioteca agricoltura: https://www.zotero.org/groups/aplomb/
> skype: enricogabrielli (enricogabrielli76.peragr using gmail.com)
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help