Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michbur authored Jun 20, 2024
1 parent e824499 commit 1e8612d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/test_features.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ test_features <- function(target, features, criterion = "ig", adjust = "BH",
estm <- crit_function(target, features[, ith_feature_id, drop = FALSE])
dist <- dists[[paste(sum(features[, ith_feature_id, drop = FALSE]))]]
1 - dist[which.max(dist[, "criterion"] >= estm - 1e-15), "cdf"]
})), colNames(features))
})), colnames(features))
} else {
# slow version
rowMeans(crit_function(target, features) <=
Expand Down

0 comments on commit 1e8612d

Please sign in to comment.