estimate_network() is deprecated: use build_network() instead. It
passes its arguments to build_network() unchanged and returns what that
returns, after a warning of class deprecatedWarning.
Usage
estimate_network(
data,
method = "relative",
params = list(),
scaling = NULL,
threshold = 0,
level = NULL,
...
)Arguments
- data
The data, as for
build_network().- method
The estimator, as in
build_network(). Default"relative", kept for backward compatibility;build_network()has no default.- params
Settings for the estimator, as a named list, as on the method's page (for example
build_glasso()). Defaultlist().- scaling, threshold
As in
build_network().- level
Multilevel decomposition for the association methods, as in
build_cor(). DefaultNULL.- ...
Further arguments for
build_network(), such asactor,action,timeorgroup.
Value
A netobject, exactly as build_network() returns it (a
netobject_group or netobject_ml when ... or level asks for one).
Examples
data <- data.frame(T1 = c("x","y","z","x"), T2 = c("y","x","z","y"))
net <- estimate_network(data, method = "relative")
#> Warning: 'estimate_network' is deprecated.
#> Use 'build_network' instead.
#> See help("Deprecated")