reprune: Restore Previous Pruning of a Transition Network Analysis...

View source: R/pruning.R

repruneR Documentation

Restore Previous Pruning of a Transition Network Analysis Model

Description

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

See Also

Validation functions bootstrap(), deprune(), estimate_cs(), permutation_test(), permutation_test.group_tna(), plot.group_tna_bootstrap(), plot.group_tna_permutation(), plot.group_tna_stability(), plot.tna_bootstrap(), plot.tna_permutation(), plot.tna_stability(), print.group_tna_bootstrap(), print.group_tna_permutation(), print.group_tna_stability(), print.summary.group_tna_bootstrap(), print.summary.tna_bootstrap(), print.tna_bootstrap(), print.tna_permutation(), print.tna_stability(), prune(), pruning_details(), summary.group_tna_bootstrap(), summary.tna_bootstrap()

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


tna documentation built on June 8, 2025, 10:33 a.m.