dimanche 4 mars 2018

Fill in cell data for column in R

I have a two columns. I want to take col1/col2, but sometimes the value in col2 is 0. How can I change it to be 1. I thought I could create a function that ran an if statement, but that doesn't seem to be working.

Aucun commentaire:

Enregistrer un commentaire