Skip to contents

Restore Previous Pruning of a Transition Network Analysis Model

Usage

reprune(x, ...)

# S3 method for class 'group_tna'
reprune(x, ...)

Arguments

x

A tna or group_tna object.

...

Ignored.

Value

A tna or group_tna object that has not been pruned. The previous pruning result can be reactivated with reprune().

Examples

model <- tna(group_regulation)
pruned_model <- prune(model, method = "threshold", threshold = 0.1)
depruned_model <- deprune(pruned_model) # restore original model
repruned_model <- reprune(depruned_model) # reapply the previous pruning