Learn R Programming

tna (version 1.0.0)

reprune: 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 group_tna reprune(x, ...)

Value

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

Arguments

x

A tna or group_tna object.

...

Ignored.

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

Run this code
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

Run the code above in your browser using DataLab