R/modisVegetation.r

Defines functions forest shrub

# Authors: Sonia Asilo, Ritsuko Fuchiyama, Robert J. Hijmans, Yann Chemin, Angelo Carlo Pacheco, Jorrel Khalil S. Aunario, Andrew Nelson
# International Rice Research Institute
# Date :  Feb 2009
# Version 0,1
# Licence GPL v3

forest <- function(ndvi){
	return(ndvi>=0.7)
}

# TODO: verify if > or <
shrub <- function(lswi){
	return(lswi<0.1)
}

Try the RiceMap package in your browser

Any scripts or data that you put into this service are public.

RiceMap documentation built on May 2, 2019, 5:16 p.m.