View source: R/control_parameters.R
| trex_da_control | R Documentation |
Build a control list for the dependency-aware correction of TRexDASelector.
trex_da_control(
da_method = "BT",
cor_coef = -2,
rho_thr_DA = 0.02,
hc_linkage = "single",
hc_grid_length = 0,
prior_groups = NULL,
bt_selection_mode = "FeasibleOnly"
)
da_method |
Dependency model (default: "BT"). "BT", the binary tree, is made
for disjoint groups of highly correlated variables. "NN", nearest neighbours, is
made for overlapping groups of highly correlated variables and sweeps the
correlation thresholds of a rho grid of length |
cor_coef |
Correlation coefficient for AR1/EQUI. -2.0 triggers auto-estimation
(default: -2.0). The estimate is the mean lag-1 autocorrelation of the rows for AR1
and the mean pairwise correlation of the variables for EQUI. Both methods use the
magnitude of a supplied coefficient. Any other value outside |
rho_thr_DA |
Correlation threshold of the AR1 and EQUI methods (default: 0.02).
AR1: the window around a variable reaches
|
hc_linkage |
Hierarchical clustering linkage: "single", "complete", "average",
"wpgma" (default: "single"). Used by BT and by prior groups. "ward" is rejected,
because its update is valid for squared Euclidean distances only and the correlation
distance |
hc_grid_length |
Number of correlation thresholds on the calibration grid of BT,
NN and prior groups. |
prior_groups |
Optional prior grouping constraints: a list of integer
vectors, each of length |
bt_selection_mode |
Which cells of the calibration grid may win the selection
of the methods BT, NN and prior groups. |
A named list for use in TRexDASelector.
Other T-Rex selectors and controls:
Gauss_data,
TRexBiobankScreeningSelector,
TRexDASelector,
TRexGVSSelector,
TRexSPCASelector,
TRexScreeningSelector,
TRexSelector,
TRexTikhonovSelector,
trex_biobank_control(),
trex_build_group_centering_k(),
trex_control(),
trex_default_lambda2_grid(),
trex_dummy_distribution(),
trex_fdp(),
trex_fdp_dense(),
trex_gamma_to_k(),
trex_get_num_threads(),
trex_gvs_control(),
trex_gvs_lambda2_power_rule(),
trex_normalize_design(),
trex_precision(),
trex_recall(),
trex_screen_control(),
trex_spca_control(),
trex_tikhonov_control(),
trex_tikhonov_lambda2_power_rule(),
trex_tpp(),
trex_tpp_dense()
trex_da_control()
trex_da_control(da_method = "BT", hc_linkage = "average")
# Prior-groups path (constraints over p = 4 variables):
trex_da_control(prior_groups = list(c(1, 1, 2, 2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.