Skip to content

Commit

Permalink
fixed typo in sctest_info
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelarnold committed Sep 1, 2020
1 parent 72b33b8 commit 1008d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sctest_info.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ sctest_info <- function(CSP, covariate, test, scaled_split, from, to) {
# Nominal covariates
if (test == "lmuo") {
covariate <- droplevels(covariate)
CSP <- CSP[-1, drop = FALSE]
CSP <- CSP[-1, , drop = FALSE]
freq <- prop.table(table(covariate))
freq <- freq / sum(freq)
ncat <- length(freq)
Expand Down

0 comments on commit 1008d66

Please sign in to comment.