Skip to contents

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()). Default list().

scaling, threshold

As in build_network().

level

Multilevel decomposition for the association methods, as in build_cor(). Default NULL.

...

Further arguments for build_network(), such as actor, action, time or group.

Value

A netobject, exactly as build_network() returns it (a netobject_group or netobject_ml when ... or level asks for one).

See also

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")