Karanja Mwangi, PhD MEIK MKIP FKIP Chairman Department of ...
R Brown-Bag Seminar 2: Hands-on Antony Karanja Ndungu ([email protected]) Research Methods...
-
Upload
sydney-oliver -
Category
Documents
-
view
213 -
download
0
Transcript of R Brown-Bag Seminar 2: Hands-on Antony Karanja Ndungu ([email protected]) Research Methods...
R Brown-Bag Seminar 2: Hands-on
Antony Karanja Ndungu([email protected])
Research Methods Group-ICRAF
STUDIO
R downloaded
and in
stalle
d? http
://www.r-
projec
t.org
/
R Studio http
://www.rs
tudio.com/
Getting started to Working with R • Get Started to R– R downloaded and installed? (http://www.r-project.org/ )– R Studio (http://www.rstudio.com/)
• R language – Object oriented programming. - No desk menu! (Rmcdr)
• Assign objects to manipulations.• Nature of Data Objects
Data frames, vectors, matrices, lists (maps, data, etc)
Getting started to Working with R • Operations on data objects
Base and libraries- functions/commandsScripting in R (Setwd, getwd())
• Working with R - Loading data (Data objects); libraries
(foreign- Working with really data. Loading/
recalling data- Data validation and cleaning- Data management (sub setting, collapse, merging, appending, Reshaping etc.