Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdgamboa committed Nov 30, 2023
1 parent ed72dae commit 6fb175c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions vignettes/articles/uncertainty_binary.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,6 @@ myFun <- function(mat, per_uncertain = 0.1) {
mat
}
myFun2 <- fucntion(mat, per_false = 0.1) {
ones <- which(mat[,'A', drop = TRUE] == 0)
zeros <- which(!mat[,'A', drop = TRUE] == 0)
n1s <- colSums(mat[,'A', drop = FALSE])
n0s <- colSums(!mat[,'A', drop = FALSE])
total = n1s + n0s
perN <- round(0.1 * total)
}
```


Expand Down

0 comments on commit 6fb175c

Please sign in to comment.