Tag: remove Inf in R

  • Replace Inf in R

    Replace Inf in R

    Here is how to replace Inf in R if that is necessary for your data frame. It might appear in various situations, for example, when dividing with zero. In my example in this post, I have infinity when detecting min or max values in each data frame row.