Skip to contents

A tidy, one-row-per-argument map from each reference package's estimator to its psychnet equivalent, so users migrating from qgraph::EBICglasso, qgraph::cor_auto, qgraph::ggmModSelect, IsingFit::IsingFit, or mgm::mgm can find the matching argument and see what psychnet changes by default. Cross-sectional estimators only (temporal models are out of scope).

Usage

net_crosswalk(
  reference = c("all", "EBICglasso", "cor_auto", "ggmModSelect", "IsingFit", "mgm")
)

Arguments

reference

Which reference function to show: "all" (default), "EBICglasso", "cor_auto", "ggmModSelect", "IsingFit", or "mgm".

Value

A tidy data.frame, one row per argument, with columns reference (the pkg::fn being substituted), psychnet (the psychnet verb), ref_arg, psychnet_arg ("-" when there is no counterpart), status (identical / renamed / default differs / semantics differ / reference only / psychnet only), and a short note.

Examples

net_crosswalk("EBICglasso")
#>             reference    psychnet           ref_arg      psychnet_arg
#> 1  qgraph::EBICglasso ebic_glasso                 S        cor_matrix
#> 2  qgraph::EBICglasso ebic_glasso                 n                 n
#> 3  qgraph::EBICglasso ebic_glasso             gamma             gamma
#> 4  qgraph::EBICglasso ebic_glasso           nlambda           nlambda
#> 5  qgraph::EBICglasso ebic_glasso  lambda.min.ratio  lambda_min_ratio
#> 6  qgraph::EBICglasso ebic_glasso         threshold         threshold
#> 7  qgraph::EBICglasso ebic_glasso penalize.diagonal penalize_diagonal
#> 8  qgraph::EBICglasso ebic_glasso             refit             refit
#> 9  qgraph::EBICglasso ebic_glasso           checkPD                 -
#> 10 qgraph::EBICglasso ebic_glasso    penalizeMatrix                 -
#> 11 qgraph::EBICglasso ebic_glasso     countDiagonal                 -
#> 12 qgraph::EBICglasso ebic_glasso  returnAllResults                 -
#> 13 qgraph::EBICglasso ebic_glasso           verbose                 -
#> 14 qgraph::EBICglasso ebic_glasso                 -              data
#> 15 qgraph::EBICglasso ebic_glasso                 -        cor_method
#> 16 qgraph::EBICglasso ebic_glasso                 -         na_method
#> 17 qgraph::EBICglasso ebic_glasso                 -            native
#> 18 qgraph::EBICglasso ebic_glasso                 -            labels
#> 19 qgraph::EBICglasso ebic_glasso                 -       lambda_path
#>              status
#> 1           renamed
#> 2         identical
#> 3         identical
#> 4         identical
#> 5           renamed
#> 6  semantics differ
#> 7           renamed
#> 8  semantics differ
#> 9    reference only
#> 10   reference only
#> 11   reference only
#> 12   reference only
#> 13   reference only
#> 14    psychnet only
#> 15    psychnet only
#> 16    psychnet only
#> 17    psychnet only
#> 18    psychnet only
#> 19    psychnet only
#>                                                                  note
#> 1               correlation matrix in; psychnet also accepts raw data
#> 2                                                                    
#> 3                                            EBIC tuning, default 0.5
#> 4                                                         default 100
#> 5                                                   same default 0.01
#> 6           qgraph: logical sig-rule; psychnet: numeric weight cutoff
#> 7                                    same default FALSE (W_ii = S_ii)
#> 8  qgraph: logical; psychnet also takes "unregularized" (support MLE)
#> 9                      psychnet always validates/PD-checks cor_matrix
#> 10                  per-edge penalty matrix; psychnet uses scalar rho
#> 11                 EBIC df toggle; psychnet never counts the diagonal
#> 12                          psychnet always stores $kkt, $lambda, ...
#> 13                                                 psychnet is silent
#> 14                                    estimate straight from raw data
#> 15                                      pearson/spearman/kendall/auto
#> 16                                     pairwise/listwise missing data
#> 17                      native solver (TRUE) / glasso Fortran (FALSE)
#> 18                                                        node labels
#> 19                         fixed penalty grid, for resampling callers
net_crosswalk("IsingFit")
#>             reference  psychnet           ref_arg     psychnet_arg
#> 1  IsingFit::IsingFit ising_fit                 x             data
#> 2  IsingFit::IsingFit ising_fit             gamma            gamma
#> 3  IsingFit::IsingFit ising_fit               AND             rule
#> 4  IsingFit::IsingFit ising_fit           min_sum          min_sum
#> 5  IsingFit::IsingFit ising_fit            family                -
#> 6  IsingFit::IsingFit ising_fit              plot                -
#> 7  IsingFit::IsingFit ising_fit       progressbar                -
#> 8  IsingFit::IsingFit ising_fit lowerbound.lambda                -
#> 9  IsingFit::IsingFit ising_fit                 -          nlambda
#> 10 IsingFit::IsingFit ising_fit                 - lambda_min_ratio
#> 11 IsingFit::IsingFit ising_fit                 -          weights
#> 12 IsingFit::IsingFit ising_fit                 -        na_method
#> 13 IsingFit::IsingFit ising_fit                 -           labels
#>             status                                   note
#> 1          renamed                        binary 0/1 data
#> 2        identical                           default 0.25
#> 3          renamed      AND=TRUE/FALSE -> rule='AND'/'OR'
#> 4  default differs      -Inf vs NULL (both keep all rows)
#> 5   reference only              psychnet is binomial-only
#> 6   reference only                   psychnet never plots
#> 7   reference only           psychnet has no progress bar
#> 8   reference only psychnet uses its own full lambda path
#> 9    psychnet only                     lambda-path length
#> 10   psychnet only              smallest penalty fraction
#> 11   psychnet only                    observation weights
#> 12   psychnet only                      pairwise/listwise
#> 13   psychnet only                            node labels