search for: spname

Displaying 5 results from an estimated 5 matches for "spname".

Did you mean: soname
2017 Dec 07
2
parallel computing with foreach()
...ate folders. splist <- c("juoc", "juos", "jusc", "pico", "pifl", "pipo", "pire", "psme") covset <- c("PEN", "Thorn") foreach(i = 1:length(splist)) %:% foreach(j = 1:length(covset)) %dopar% { spname <- splist[i]; spname myTorP <- covset[j]; myTorP DataSpecies = data.frame(prsabs = rep(1, 10), lon = rep(30, 10), lat = rep(80, 10)) myResp = as.numeric(DataSpecies[,1]) myRespXY = DataSpecies[, c("lon", "lat")] # directory of a bunch of raster files specific to each R en...
2017 Dec 07
0
parallel computing with foreach()
...("juoc", "juos", "jusc", "pico", "pifl", "pipo", "pire", "psme") > covset <- c("PEN", "Thorn") > > foreach(i = 1:length(splist)) %:% > foreach(j = 1:length(covset)) %dopar% { > > spname <- splist[i]; spname > myTorP <- covset[j]; myTorP > > DataSpecies = data.frame(prsabs = rep(1, 10), lon = rep(30, 10), lat = > rep(80, 10)) > myResp = as.numeric(DataSpecies[,1]) > myRespXY = DataSpecies[, c("lon", "lat")] > # directory of a bunch of...
2005 May 03
3
Lattice dotplot with symbols sized and colored
...ive or negative and sized by sp.nc.bdrs.data$mwZ I have tried... dotplot(sporder ~ cvarorder | direct, data=sp.nc.bdrs.data, cex=abs(sp.nc.bdrs.data$mwZ * 0.05), xlab="climate variables", ylab="species",col= sp.nc.bdrs.data$mysign, scales = list(y = list(labels = as.character(spname),at = 1:12, cex = 0.5), x = list(labels = as.character(my.ylabel), at = 1:66, rot=90, cex = 0.5), alternating = 3)) This sizes my symbols correctly but colors all four conditional plots (direct = 'e', 'n', 's' & 'w') using the colors defined for the first di...
2010 Jan 26
0
create custom function to annotate a levelplot
..., with the species and the approach I prepared a data.frame to try with the 'levelplot' function. Please find attached a file (levelplot.RData) where I saved the following objects: all.df ---- a data frame with coordinates (s1 and s2), predictions (z), approach used (name), species name (spname) var ---- a numeric vector with the validation value of each model This is my initial code: # ---------------------------------------------------- library(lattice);library(RColorBrewer) load("levelplot.RData") # gray colors for display mypalette = brewer.pal(9, "Greys") # p...
2008 Mar 20
0
Mixing stored procedure call with RoR db calls in the same function gives errors
...nAdapters::MysqlAdapter.new(mysql, logger, [host, username, password, database, port, socket], config) to ConnectionAdapters::MysqlAdapter.new(mysql, logger, [host, username, password, database, port, socket, 65536 + 131072], config) as recommended. However I use connection.select_all("call spName(params)") to execute my stored proc instead of using select_sp as defined and recommended in the abovementioned article - partly because select_all seemed to work fine and the article above was written for some older version of rails as the lines numbers where changes were to be made didn'...