We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7d437 commit 0ac9733Copy full SHA for 0ac9733
R/encoding.R
@@ -85,7 +85,9 @@ getFactorLevels <- function(data, pars) {
85
# Separate out interactions
86
ints <- grepl("\\*", pars)
87
if (any(ints)) {
88
- pars <- pars[ints == FALSE]
+ pars_int <- pars[ints == TRUE]
89
+ pars_int <- unlist(lapply(pars_int, function(x) strsplit(x, "\\*")))
90
+ pars <- unique(c(pars[ints == FALSE], pars_int))
91
}
92
factorLevels <- NULL
93
parTypes <- getParTypes(data, pars)
0 commit comments