1
I’m new to programming in R and I have a problem. I have two columns (X and Y, respectively), in the first I have a series of values, where some are negative and I need a function that for each negative value in X, replaces the value in Y by 0. If anyone can help me, I’d appreciate it!
Got it. Thanks a lot for your help.
– Iuri Maicon Moreira