1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 15:01:51 +02:00

Try to support older R versions

This commit is contained in:
2018-04-18 15:41:27 +02:00
parent 4b5530ed64
commit d79132b29f
2 changed files with 5 additions and 2 deletions

View File

@ -161,7 +161,7 @@ freq <- function(x,
}
if (mult.columns > 1) {
NAs <- x[is.na(x) | x == trimws(strrep('NA ', mult.columns))]
NAs <- x[is.na(x) | x == trimws(AMR:::strrep('NA ', mult.columns))]
} else {
NAs <- x[is.na(x)]
}