mapNA.Rd 355 B

123456789101112131415161718192021
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/modifyData.R
  3. \name{mapNA}
  4. \alias{mapNA}
  5. \title{Map NA to value}
  6. \usage{
  7. mapNA(df, var, valIfNA = 0)
  8. }
  9. \arguments{
  10. \item{df}{data frame}
  11. \item{var}{variable to modify}
  12. \item{valIfNA}{change from NA to this value}
  13. }
  14. \value{
  15. updated data frame
  16. }
  17. \description{
  18. Map NA to value
  19. }