http://commres.net/wiki/sna_eg_stanford/lab06#no_pdf Please follow this procedure for a proper homework. * Please install [[https://cran.r-project.org/bin/windows/Rtools/|rtools 3.5]] along with rstudio. * Also update the R version. The current updated version is [[https://cran.r-project.org/bin/windows/base/|3.6.2]] * Then install "devtools" package * ''%%install.packages("devtools")%%'' * devtools will not be installed unless rtools 3.5 is installed. * Then, install packages that are necessary for the analysis * ''%%install.packages("ergm", dependencies = T)%%'' * ''%%install.packages("igraph", dependencies = T)%%'' * ''%%install.packages("sna", dependencies = T)%%'' * ''%%install.packages("statnet", dependencies = T)%%'' * etc. . . . Use Krackhardt's data and apply them to lab06 procedure (clustering social network data). Krackhardt's data can be obtained via the below. library(NetData) data(package="NetData") data(kracknets, package = "NetData") head(krack_full_data_frame) krack_full_data_frame is the same data as used in studentnets.M182 data set (please refer to [[:sna_eg_stanford:lab06]] page). Do the following. Please note that * There will be no #4. procedure. * No factor analysis * Instead, you are doing hierarchical clustering with * advice_tie and friendship_tie * advice_tie and reports_to_tie Please name variables as the lab06 does. ### #1. SETUP ### ### #2. LOADING AND FORMATTING DATA ### ### # 3.1 HIERARCHICAL CLUSTERING ON advice_tie and reprots_to_tie ### ### # 3.2 HIERARCHICAL CLUSTERING ON advice_tie and friendship_tie ###