I'm trying to calculate rich-cores on a series of weighted networks, but I'm running into trouble when trying to use the 'weighted=TRUE' argument in the rich_core() function.
Is the function not yet implemented for weighted graphs? Eventhough the manual says it is?
> packageVersion("brainGraph")
[1] ‘2.7.3’
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Dutch_Belgium.1252 LC_CTYPE=Dutch_Belgium.1252 LC_MONETARY=Dutch_Belgium.1252
[4] LC_NUMERIC=C LC_TIME=Dutch_Belgium.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] igraphdata_1.0.1 brainGraph_2.7.3 igraph_1.2.4.1
loaded via a namespace (and not attached):
[1] ggrepel_0.8.1 Rcpp_1.0.1 lattice_0.20-35 assertthat_0.2.1 digest_0.6.17
[6] foreach_1.4.4 R6_2.4.0 backports_1.1.2 acepack_1.4.1 ggplot2_3.2.1
[11] pillar_1.4.2 rlang_0.4.2 lazyeval_0.2.1 rstudioapi_0.10 minqa_1.2.4
[16] data.table_1.11.8 nloptr_1.2.1 rpart_4.1-13 Matrix_1.2-18 checkmate_1.8.5
[21] splines_3.5.1 lme4_1.1-21 stringr_1.4.0 foreign_0.8-71 RcppEigen_0.3.3.5.0
[26] htmlwidgets_1.3 munsell_0.5.0 compiler_3.5.1 pkgconfig_2.0.2 base64enc_0.1-3
[31] htmltools_0.3.6 nnet_7.3-12 tidyselect_0.2.5 tibble_2.1.3 gridExtra_2.3
[36] htmlTable_1.12 RNifti_0.11.1 expm_0.999-3 Hmisc_4.1-1 codetools_0.2-15
[41] permute_0.9-5 crayon_1.3.4 dplyr_0.8.3 MASS_7.3-50 bitops_1.0-6
[46] grid_3.5.1 nlme_3.1-137 gtable_0.2.0 magrittr_1.5 scales_1.0.0
[51] stringi_1.1.7 latticeExtra_0.6-28 boot_1.3-23 Formula_1.2-3 RColorBrewer_1.1-2
[56] iterators_1.0.10 tools_3.5.1 ade4_1.7-13 glue_1.3.1 purrr_0.3.3
[61] abind_1.4-5 parallel_3.5.1 survival_2.42-6 yaml_2.2.0 oro.nifti_0.9.1
[66] colorspace_1.3-2 cluster_2.0.7-1 knitr_1.20