Skip to content

Commit

Permalink
fix the character NAs in the equation database
Browse files Browse the repository at this point in the history
  • Loading branch information
haganjam committed Jul 19, 2023
1 parent a9db9f7 commit e5293d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@ equ.dat <-
log_base^(RMS/2),
lm_correction))

# replace the character NAs with true NAs as interpreted by R
equ.dat[equ.dat == "NA"] <- NA

# write this into a .rds file
saveRDS(equ.dat, file = paste("database", "/", "equation_database.rds", sep = ""))
Binary file modified database/equation_database.rds
Binary file not shown.

0 comments on commit e5293d6

Please sign in to comment.