| fit_idiographic | R Documentation |
fit_idiographic() dispatches every built-in estimator and workflow through
the same entry point. Arguments may be supplied directly or in params,
which makes a stored configuration directly replayable. Direct arguments
and params must both be named and cannot overlap; this turns otherwise
ambiguous duplicate arguments into an immediate, informative error.
fit_idiographic(data, method, ..., params = list())
data |
A data frame or matrix passed to the selected method. |
method |
A registered method name or alias. |
... |
Named arguments passed directly to the selected method. |
params |
A named list of additional method arguments. |
The selected method's result, unchanged except for lightweight dispatch and equivalence metadata attributes.
set.seed(1)
d <- data.frame(A = rnorm(80), B = rnorm(80))
fit <- fit_idiographic(d, "var", vars = c("A", "B"), scale = FALSE)
fit2 <- fit_idiographic(d, "ols-var",
params = list(vars = c("A", "B"), scale = FALSE))
equivalence(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.