Author archives: faith

ICRAFUseR: Introduction to R

Last update on Oct. 25, 2019.

Presenter: Faith Musili

Topics Covered:

  • What is R Programming language?
  • Why Learn R?
  • Who uses R?
  • R communities and groups
  • What is Rstudio?
  • Where to start
  • R packages
  • Data types in R
  • Good Practices when programming in R
  • Basic R

Presentation Materials:


R seminar series section 2 # 3

Last update on March 30, 2017.


Download the datavis csv here



# Faith Musili

# R brownbag seminar November 10th, 2016

#Set your working directory

###Install package dplyr
install.packages("dplyr")

###Load dplyr package into R
library(dplyr)

###Read your csv data into R
data<-read.csv("datavis.csv")
class(data)
head(data)
tail(data)
dim(data)
colnames(data)


###Select function
#Select a ...

Continue reading

R seminar series section 2 #2

Last update on March 30, 2017.






#####Setting working directory

setwd("/Users/FMusili/Documents/2.2")

#########Creating objects ##########################

n <- 150
n

58 -> n
n

x <- 1.4
x

X <- 19
X

################Importing Data of different formats############

######### read.csv---for csv
species_csv<-read.csv(file="/Users/FMusili/Documents/2.2/Data/species.csv")
species_csv<-read.csv(file="Data/species.csv")
class(species_csv)
dim(species_csv ...

Continue reading

R seminar series section 2 #1

Last update on March 30, 2017.


Community resource mapping and visioning in Hurri hills and Shurr landscapes

Last update on March 30, 2017.

Community resource mapping  and visioning in Hurri hills and Shurr landscapes

A community best understands its resources, the specific locations and seasonal variations of grazing resources. It is with this knowledge that the GeoScience Lab in collaboration with International Union for Conservation of Nature (IUCN), planned and executed a community-based resource mapping exercise for Hurri hills and Shurr landscapes in Marsabit County. Historically, both landscapes were ...

Continue reading