Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kunstler Georges
traitcompet
Commits
f49443af
Commit
f49443af
authored
May 21, 2014
by
Georges Kunstler
Browse files
Export climate functions, utility function for finding root
parent
4ae6642b
Changes
3
Hide whitespace changes
Inline
Side-by-side
traitcompetition/DESCRIPTION
View file @
f49443af
...
...
@@ -8,4 +8,5 @@ Description: Code for the trait competition workshop
License: GPL (>=2)
Imports:
sp,
boot
boot,
raster
traitcompetition/NAMESPACE
View file @
f49443af
...
...
@@ -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)
traitcompetition/R/utils-climate.R
View file @
f49443af
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment