% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prune.R
\name{net_reprune}
\alias{net_reprune}
\alias{net_reprune.netobject}
\alias{net_reprune.netobject_group}
\alias{net_reprune.default}
\title{Re-apply Network Pruning}
\usage{
net_reprune(x, ...)

\method{net_reprune}{netobject}(x, ...)

\method{net_reprune}{netobject_group}(x, ...)

\method{net_reprune}{default}(x, ...)
}
\arguments{
\item{x}{A depruned \code{netobject} or \code{netobject_group}.}

\item{...}{Ignored.}
}
\value{
The network (or group) with pruned weights re-applied and its
pruning marked active.
}
\description{
Re-applies a previously computed pruning that was undone by
\code{\link{net_deprune}}, without recomputation.
}
\examples{
seqs <- data.frame(V1 = c("A","B","C"), V2 = c("B","C","A"),
                   V3 = c("C","A","B"))
net    <- build_network(seqs, method = "relative")
pruned <- net_prune(net, threshold = 0.2)
undone <- net_deprune(pruned)
net_reprune(undone)
}
\seealso{
\code{\link{net_prune}}, \code{\link{net_deprune}}
}
