Dyad based correlation

#> 
#>  Spearman's rank correlation rho
#> 
#> data:  friends$soc_score and friends$adv_score
#> S = 29184559, p-value = 1.139e-08
#> alternative hypothesis: true rho is not equal to 0
#> sample estimates:
#>       rho 
#> 0.2285353

 

 

Network based (QAP)

All teams

#>      cor  pval pleeq team
#> 1  0.399 0.036 0.968    1
#> 2  0.215 0.182 0.823    2
#> 3  0.331 0.054 0.957    3
#> 4  0.391 0.031 0.975    4
#> 5  0.226 0.141 0.859    5
#> 6 -0.057 0.581 0.419    6
#> 7  0.247 0.204 0.821   71
#> 8  0.176 0.294 0.713   72
#> 9  0.225 0.232 0.790    8
#> R version 3.6.3 (2020-02-29)
#> Platform: x86_64-redhat-linux-gnu (64-bit)
#> Running under: Fedora 31 (Workstation Edition)
#> 
#> Matrix products: default
#> BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
#>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#>  [1] gediismtrx_1.1.2     sociometrics_0.6.3   forcats_0.4.0       
#>  [4] stringr_1.4.0        dplyr_0.8.4          purrr_0.3.3         
#>  [7] readr_1.3.1          tidyr_1.0.2          tibble_2.1.3        
#> [10] ggplot2_3.2.1        tidyverse_1.3.0      sna_2.5             
#> [13] statnet.common_4.3.0 network_1.16.0      
#> 
#> loaded via a namespace (and not attached):
#>  [1] sjlabelled_1.1.3 tidyselect_1.0.0 xfun_0.10        haven_2.2.0     
#>  [5] lattice_0.20-38  colorspace_1.4-1 vctrs_0.2.2      generics_0.0.2  
#>  [9] htmltools_0.4.0  yaml_2.2.1       rlang_0.4.4      pillar_1.4.2    
#> [13] withr_2.1.2      glue_1.3.1       DBI_1.0.0        dbplyr_1.4.2    
#> [17] modelr_0.1.5     readxl_1.3.1     lifecycle_0.1.0  sjmisc_2.8.3    
#> [21] munsell_0.5.0    gtable_0.3.0     cellranger_1.1.0 rvest_0.3.5     
#> [25] coda_0.19-3      evaluate_0.14    knitr_1.28       broom_0.5.2     
#> [29] Rcpp_1.0.2       backports_1.1.5  scales_1.0.0     jsonlite_1.6    
#> [33] fs_1.3.1         hms_0.5.3        digest_0.6.22    stringi_1.4.5   
#> [37] insight_0.8.1    grid_3.6.3       cli_1.1.0        tools_3.6.3     
#> [41] magrittr_1.5     lazyeval_0.2.2   crayon_1.3.4     pkgconfig_2.0.3 
#> [45] xml2_1.2.2       reprex_0.3.0     lubridate_1.7.4  rstudioapi_0.10 
#> [49] assertthat_0.2.1 rmarkdown_2.1    httr_1.4.1       R6_2.4.0        
#> [53] nlme_3.1-144     compiler_3.6.3