Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

43 results for “from:Rafael Wüest”

Mosaic Option to BLEND
Rafael Wüest · Oct 25, 2012 · r-sig-geo

Dear R geo experts, I have specific question to the raster::mosaic function.

response correlated among groups
Rafael Wüest · Nov 12, 2014 · r-sig-mixed-models

Dear list members I would like to fit a model relating a gaussian response variable y to some continuous predictor variables (p1 and p2). The response is correlated among the classes of a factor (p3). Is it possible to set...

predict GAMM
Rafael Wüest · Nov 26, 2014 · r-sig-mixed-models

Dear ME experts I'm trying to use GAMMs in order to allow for a correlation structure in a GAM. (A simplified version of) My model looks as follows: m1 <- gamm(y ~ s(p1) + s(p2), correlation = corSymm(form = ~ 1...

Crop a raster using a shapefile
Rafael Wüest · Jun 1, 2012 · r-sig-geo

Check out ?mask Rafi -- Rafael W?est Swiss Federal Research Institute WSL Zuercherstrasse 111 8903 Birmensdorf Am 01.06.2012 um 20:51 schrieb "Thiago Veloso" <thi_veloso at yahoo.com.br>: > Dear all, > > When cropping a raster using a...

GRASS raster as RasterLayer
Rafael Wüest · Feb 15, 2012 · r-sig-geo

Hi, if you have a SpatialGridDataFrame you can use the raster() command to transform it into a raster. check ?raster Rafael On 15.02.2012, at 10:25, Johannes Radinger wrote: > Hello, > > I am not sure if a ran into...

spsample: random points within a radius r from observed locations
Rafael Wüest · Oct 27, 2015 · r-sig-geo

Hi Gabriele Don't know of such a function, but the following should return 10 random locations per polygon in 'buffer' randompoints.list <- sapply(buffer at polygons, spsample, n = 10, type = 'random') randompoints <- do.call(rbind, randompoints.list) May be...

extracting non-NA values from RasterLayer
Rafael Wüest · Apr 25, 2012 · r-sig-geo

Hi Carson, check ?rasterToPoints from raster package. That should do it! Rafi On 25.04.2012, at 12:26, Carson Farmer wrote: > Dear list, I am currently dealing with extremely large raster datasets > (100s of millions of cells), and am...

Calculate distance along a path
Rafael Wüest · Jan 28, 2014 · r-sig-geo

http://rpubs.com/geospacedman/routing could be a start... Hope this helps, Rafael On 28.01.14 16:08, Jacqueline Schweizer wrote: > > > Hi everybody, > > Eventually I am trying to calculate a grid, that represents the distance from each cell to...

How to extract the index (i, j) row and column from a raster?
Rafael Wüest · Jun 19, 2013 · r-sig-geo

Well, if the ultimate aim is to build a polygon from a raster, I suggest you look at library(raster) ?rasterToPolygons Rafael On 19.06.2013, at 13:00, Lionel Hertzog <s6lihert at uni-bonn.de> wrote: > The easiest way...

Get map of non-NA cells of a stack
Rafael Wüest · Jun 25, 2012 · r-sig-geo

Hi Johannes, I don't know of any special function, but you can easily obtain this by combining sum() and is.na() . See the example below: r <- raster(ncols=36, nrows=18) r[] <- 1:ncell(r) r1<-r;r1[sample...

Area of Spatial Pixels
Rafael Wüest · Jan 26, 2012 · r-sig-geo

Hi Mark If you create a raster via r<-raster(bath) you can use the area function of the raster package. check out ?area Rafael On 26.01.2012, at 17:14, Mark Payne wrote: > Dear R spatial gurus, > > I...

package raster stack function do not work
Rafael Wüest · Jan 20, 2012 · r-sig-geo

Hi Carsten, I recently had the same issue, updating R (in my case to 2.13.2) helped! Rafael On 20.01.2012, at 17:51, Carsten Neumann wrote: > Dear raster users, > > I updated to the newest raster package and...

raster package - zonal - standard deviations
Rafael Wüest · Nov 5, 2012 · r-sig-geo

Hi Christian What version of raster do you use. Using my installation of raster (version 2.0-12), 'sd' as a function in zonal works fine (see example below). r <- raster(ncols=10, nrows=10) r[] <- runif(ncell(r)) * 1...

raster nearest neighbours
Rafael Wüest · Mar 20, 2013 · r-sig-geo

Hi Ross Try points2<-rasterToPoints(raster2,spatial=TRUE) distraster<-distanceFromPoints(raster1,points2) distmasked<-mask(distraster,raster1,inverse=TRUE) yourraster<-merge(distmasked<3000,raster1) HTH, Rafael On 20.03.2013, at 09:15, Ross Ahmed <rossahmed at googlemail.com> wrote: > Hi...

package raster stack function do not work
Rafael Wüest · Jan 20, 2012 · r-sig-geo

Hi Tara what operating system are you working on? Mac, Windows, Linux? Rafael On 20.01.2012, at 18:53, Tara Bridwell wrote: > I have also been having difficulties in the raster package. I had a > hard drive crash and...

Polygons of a SpatialPolygonsDataFrame
Rafael Wüest · Feb 17, 2012 · r-sig-geo

Oops, there's a mistake in the first line of code. should be: extract(raster, SPdataframe,fun="mean",na.rm=TRUE,method="simple") On 17.02.2012, at 17:58, Emmenegger Tamara wrote: > Merci! > > -----Urspr?ngliche Nachricht----- > Von: Rafael W...

RasterBrick: Change resolution, keep the values
Rafael Wüest · Jul 9, 2014 · r-sig-geo

Hi Micheal, I think you can use the raster::disaggregate function in this case, with method = '' Check out ?disaggregate for more details. HTH, Rafael On 09.07.14 18:48, Michael Treglia wrote: > Hi Michael, > > Looks like you're using...

Using "Mask" for SDMs (Maxent) with Dismo
Rafael Wüest · Mar 6, 2012 · r-sig-geo

Hi Johannes, On 06.03.2012, at 14:45, Johannes Radinger wrote: > Hi, > > I have several environmental rasters (loaded as stack/brick) in R which I want to use as predictors for Species Distribution Models (preferably Maxent) with the dismo...

connection error when calling maxent()
Rafael Wüest · Jan 4, 2012 · r-sig-geo

Hi Folks when I am trying to call the maxent() function within a function I created, I am getting the following error: Error in file(con, "r") : cannot open the connection In addition: Warning message: In file(con, "r") : cannot...

Maxent and Maxlike data.frame methods
Rafael Wüest · Aug 12, 2013 · r-sig-geo

Hi Gerardo I'm not sure I understand exactly what your question is about. Maybe some reproducible example code could help... Assuming you want to fit a maxent model using a dataframe and providing background presences, the help file in...

Can't find what you're looking for? Try searching with Google .