EGO NETWORK (1)

Download R source file

 

# title: “LINKS-EgoNets-PackageInstall”
# date: “May 17, 2017”
# output: word_document

###############################################################################
## Install (only required once)
###############################################################################

## Import stata dataset
install.packages(“foreign”)

## Label variables and descriptives
install.packages(“Hmisc”)

# VIf
install.packages(“car”)

# Heteroskadasticity
install.packages(“lmtest”)
install.packages(“het.test”)

# Robust
install.packages(“sandwich”)

# Multilevel
install.packages(“multilevel”)

#opmimization
install.packages(“optimx”)

#descriptives
install.packages(“pastecs”)

# match datasets
install.packages(“plyr”)

# match datasets
install.packages(“dplyr”)

# Output
install.packages(“knitr”)