signal_var_proportion {sbfc} | R Documentation |
Signal variable proportion
Description
For each variable, computes the proportion of the samples in which this variable is in the signal group (Group 1).
Plots the top nvars
variables in decreasing order of signal proportion.
Usage
signal_var_proportion(
sbfc_result,
nvars = 10,
samples = F,
labels = paste0("X", 1:ncol(sbfc_result$parents)),
label_size = 1,
rotate_labels = F
)
Arguments
sbfc_result |
An object of class |
nvars |
Number of top signal variables to include in the plot (default=10). |
samples |
Calculate signal variable proportion based on sampled MCMC graphs after burn-in and thinning, rather than graphs from all iterations (default=FALSE). |
labels |
A vector of node labels (default= |
label_size |
Size of variable labels on the X-axis (default=1). |
rotate_labels |
Rotate x-axis labels by 90 degrees to make them vertical (default=FALSE) |
Value
Signal proportion for the top nvars
variables in decreasing order.
[Package sbfc version 1.0.3 Index]