File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 4
4
model_parameters.svyglm <- function (model ,
5
5
ci = 0.95 ,
6
6
ci_method = " wald" ,
7
- bootstrap = FALSE ,
8
- iterations = 1000 ,
9
7
standardize = NULL ,
10
8
exponentiate = FALSE ,
11
9
p_adjust = NULL ,
@@ -16,16 +14,25 @@ model_parameters.svyglm <- function(model,
16
14
... ) {
17
15
if (insight :: n_obs(model ) > 1e4 && ci_method == " likelihood" ) {
18
16
insight :: format_alert(
19
- " Likelihood confidence intervals may take longer time to compute. Use 'ci_method=\" wald\" ' for faster computation of CIs."
17
+ " Likelihood confidence intervals may take longer time to compute. Use 'ci_method=\" wald\" ' for faster computation of CIs." # nolint
20
18
)
21
19
}
22
20
21
+ # validation check, warn if unsupported argument is used.
22
+ dot_args <- .check_dots(
23
+ dots = list (... ),
24
+ not_allowed = c(" vcov" , " vcov_args" , " bootstrap" ),
25
+ class(x )[1 ],
26
+ function_name = " model_parameters" ,
27
+ verbose = verbose
28
+ )
29
+
23
30
out <- .model_parameters_generic(
24
31
model = model ,
25
32
ci = ci ,
26
33
ci_method = ci_method ,
27
- bootstrap = bootstrap ,
28
- iterations = iterations ,
34
+ bootstrap = FALSE ,
35
+ iterations = 1000 ,
29
36
merge_by = " Parameter" ,
30
37
standardize = standardize ,
31
38
exponentiate = exponentiate ,
You can’t perform that action at this time.
0 commit comments