Skip to content

Commit

Permalink
NA is not replaced any more
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed May 15, 2024
1 parent c09650d commit 0eb3dfb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* Read all NONMEM files using latin1 encoding to allow single byte
parser to work

* On data import, `NA` values are replaced with zero

* When lines in the NONMEM input dataset start with `#` they are now
ignored.

Expand Down
5 changes: 0 additions & 5 deletions R/readInNonmemInput.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
}, character(1), USE.NAMES=FALSE)
}
.minfo("done")
for (.v in names(.data)) {
.data[[.v]] <- suppressWarnings(as.numeric(.data[[.v]]))
.w <- which(is.na(.data[[.v]]))
.data[[.v]][.w] <- 0
}
.fixNonmemTies(.data, delta)
}
#' This reads in the nonmem output file that has the ipred data in it
Expand Down

0 comments on commit 0eb3dfb

Please sign in to comment.