Commit f49443af authored by Georges Kunstler's avatar Georges Kunstler
Browse files

Export climate functions, utility function for finding root

parent 4ae6642b
......@@ -8,4 +8,5 @@ Description: Code for the trait competition workshop
License: GPL (>=2)
Imports:
sp,
boot
boot,
raster
......@@ -25,6 +25,7 @@ export(fun.sp.in.ecoregion)
export(fun_div)
export(function.perc.dead)
export(function.perc.dead2)
export(git.root)
export(is.wholenumber)
export(label)
export(make.transparent)
......@@ -36,4 +37,5 @@ export(to.pdf)
export(trim.negative.growth)
export(trim.positive.growth)
export(trim.trailing)
import(raster)
import(sp)
......@@ -15,6 +15,7 @@ NearestPlot <- function(x1,y1,x2,y2) {
#looks up MAT and MAP for given lat/lon values
##' @export
##' @import raster
GetClimate <-function(lats,lons) {
#create raster grid for tiles
xNum<-0:11
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment