% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimate_network.R
\name{estimate_network}
\alias{estimate_network}
\title{Estimate a Network (Deprecated)}
\usage{
estimate_network(
  data,
  method = "relative",
  params = list(),
  scaling = NULL,
  threshold = 0,
  level = NULL,
  ...
)
}
\arguments{
\item{data}{Data frame (sequences or per-observation frequencies) or a
square symmetric matrix (correlation or covariance).}

\item{method}{Character. Defaults to \code{"relative"} for backward
compatibility.}

\item{params}{Named list. Method-specific parameters passed to the estimator
function (e.g. \code{list(gamma = 0.5)} for glasso, or
\code{list(format = "wide")} for transition methods). This is the key
composability feature: downstream functions like bootstrap or grid search
can store and replay the full params list without knowing method internals.
Transition estimators accept tna-style sequence options such as
\code{weighted} and \code{concat} (and the low-level \code{begin_state}
/ \code{end_state}, of which \code{start} / \code{end} are the public
form -- see those arguments).
Column-like entries in \code{params} (\code{action}, \code{id},
\code{id_col}, \code{time}, \code{session}, \code{order}, \code{codes},
and \code{group}) are resolved before format detection and must name
existing columns. If the same column role is supplied both directly and
through \code{params}, the names must agree.}

\item{scaling}{Character vector or NULL. Post-estimation scaling to apply
(in order). Options: \code{"minmax"}, \code{"max"}, \code{"rank"},
\code{"normalize"}. Can combine: \code{c("rank", "minmax")}.
Default: \code{NULL} (no scaling).}

\item{threshold}{Numeric. Absolute values below this are set to zero in the
result matrix. Default: 0 (no thresholding).}

\item{level}{Character or NULL. Multilevel decomposition for association
methods. One of \code{NULL}, \code{"between"}, \code{"within"},
\code{"both"}. Requires \code{id_col}. Default: \code{NULL}.}

\item{...}{Additional arguments passed to \code{\link{build_network}}.}
}
\value{
A \code{netobject} (see \code{\link{build_network}}).
}
\description{
This function is deprecated. Use \code{\link{build_network}} instead.
}
\examples{
data <- data.frame(A = c("x","y","z","x"), B = c("y","x","z","y"))
net <- estimate_network(data, method = "relative")

}
\seealso{
\code{\link{build_network}}
}
