When using everything() in ge_factanal(), only a single mineval value can currently be supplied and is applied to all response variables.
Because different traits may present distinct eigenvalue structures, a global mineval threshold may not be appropriate in multi-trait analyses. Allowing response-specific mineval values would improve flexibility and statistical adequacy of factor retention.
It can be provided as a named vector/list.
ge_factanal(
data,
gen = GEN,
env = ENV,
resp = everything(),
mineval = c(Yield = 1.5,
Height = 1.0,
Protein = 2.0)
)
Or
mineval = list(
Yield = 1.5,
Height = 1.0,
Protein = 2.0
)
With, if mineval is length 1, apply to all traits (current behavior) and if named vector/list, match by response name. Also throw informative error if names do not match resp.
When using
everything()inge_factanal(), only a singleminevalvalue can currently be supplied and is applied to all response variables.Because different traits may present distinct eigenvalue structures, a global
minevalthreshold may not be appropriate in multi-trait analyses. Allowing response-specificminevalvalues would improve flexibility and statistical adequacy of factor retention.It can be provided as a named vector/list.
Or
With, if
minevalis length 1, apply to all traits (current behavior) and if named vector/list, match by response name. Also throw informative error if names do not matchresp.