Skip to content

Commit a66eb6c

Browse files
committed
fix
1 parent be3a408 commit a66eb6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: R/methods_nestedLogit.R

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ model_parameters.nestedLogit <- function(model,
2828
}
2929
}
3030

31+
# "component" might be set to "conditional", when called from "compare_parameters()"
32+
# set to "all" here.
33+
if (identical(component, "conditional")) {
34+
component <- "all"
35+
}
36+
3137
# profiled CIs may take a long time to compute, so we warn the user about it
3238
if (any(unlist(insight::n_obs(model)) > 1e4) && identical(ci_method, "profile")) {
3339
insight::format_alert(

0 commit comments

Comments
 (0)