Skip to contents

print() shows the chosen type and each tuning knob, with an unset (NA) preset-driven knob marked as resolved from the type preset. format() assembles the same report and returns it as a character vector; print() is cat(format(x), sep = "\n"). The lines follow the active console theme, so they are plain when colours are disabled.

Usage

# S3 method for class 'efa_estimate_control'
print(x, ...)

# S3 method for class 'efa_estimate_control'
format(x, ...)

# S3 method for class 'efa_rotate_control'
print(x, ...)

# S3 method for class 'efa_rotate_control'
format(x, ...)

Arguments

x

A control object from estimate_control() or rotate_control().

...

Not used; for consistency with the generic.

Value

print() returns its argument x invisibly. format() returns a character vector with the report lines.

See also

Examples

est <- estimate_control(type = "SPSS")
est
#> Estimation control (type: "SPSS")
#> 
#> init_comm: <from type preset>
#> criterion: <from type preset>
#> criterion_type: <from type preset>
#> max_iter: <from type preset>
#> abs_eigen: <from type preset>
#> start_method: psych
writeLines(format(est))
#> Estimation control (type: "SPSS")
#> 
#> init_comm: <from type preset>
#> criterion: <from type preset>
#> criterion_type: <from type preset>
#> max_iter: <from type preset>
#> abs_eigen: <from type preset>
#> start_method: psych