Category archives: R

R scripting, particularly spatial analysis using R.

ICRAFUseR: Introduction_Reading_data_into_R

Last update on Nov. 21, 2019.





Presenter: Aida Bargues Tobella



Presentation Recording:



Presentation Materials:


Download script here


Download the Data folder

ICRAFUseR: Introduction to Machine Learning in R

Last update on Nov. 11, 2019.

  • Sebastian Palmas
  • Kevin Oluoch

This is hands-on workshop is meant to introduce you to the basics of machine learning in R: more specifically, it will show you how to use R to work well known machine learning algorithms, including unsupervised (k-means clustering) and supervised methods (such as k-nearest neighbours, SVM, random forest).

There is ...

Continue reading

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:


ICRAFUseR: Introduction to mixed effects models in R

Last update on Oct. 15, 2019.


Tor-G. Vagen



Finding evidence for land-restoration strategies

Last update on Jan. 15, 2018.

Finding evidence for land-restoration strategies

Photo of an agricultural landscape in Eastern Uganda, by Madelon Lohbeck


Restoration has never been more important, with almost a third of the world’s land surface degraded. But what exactly is restoration? And how do we know if it works?

 

More than 1.5 billion of the world’s poorest people are directly affected ...

Continue reading

Basic R markdown template for writing a scientific manuscript

Last update on Sept. 6, 2017.

RStudio is a great environment for writing and R Markdown reports, manuscripts, blogs and other types of publications. It is particularly attractive for writing manuscripts that are reproducible (see for example: https://www.r-bloggers.com/composing-reproducible-manuscripts-using-r-markdown/).

However, it can be a bit daunting at first, so here's a simple template to get you started ...

Continue reading

Introduction to R markdown - 1

Last update on April 27, 2017.

Tree growth analysis

Continue reading

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.


  • Page 1 of 2
  • 1
  • 2