Packages and settings – R and Python
The R package LearnEDA
is not available anymore and we need to work around it. To get over that problem, the three required functions lval
, rline
, and han
are saved in a LearnEDA_Functions.R
file and it is loaded as a source
file:
- First set the working directory:
setwd("MyPath/R/Chapter_04")
- Install the R packages
aplpack
andvcd
in the usual way, and run the following codes to set up the required packages:library(RSADBE) library(aplpack) library(vcd) source("SRC/LearnEDA_Functions.R")
We have the usual Python packages as a pre-requisite.
- Import the required Python packages as follows:
We are now set to carry out the desired analyses.