Re: [R-sig-Geo] Spatial random forest prediction: Error when predicting at unseen locations at finer spatial scale

2023-02-22 Thread Marcelino de la Cruz Rot
column between the spatial scales, but it didn't work. >From here <https://drive.google.com/drive/folders/1KhnQEajpSKh59XuWkxTZcc_2YxPcxYW7?usp=sharing> you can download the two data.frames. [[alternative HTML version deleted]]

Re: [R-sig-Geo] st_intersection produce Geometry type: GEOMETRY instead of Geometry type: POLYGON

2023-02-10 Thread Marcelino de la Cruz Rot
st_as_sf() g_25000 # Geometry type: POLYGON g_25000_c <- st_intersection(g_25000, g_5_d) g_25000_c # Geometry type: GEOMETRY ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Marce

Re: [R-sig-Geo] Spatial nested grid in R

2023-02-10 Thread Marcelino de la Cruz Rot
El 10/02/2023 a las 15:13, Roger Bivand escribió: On Fri, 10 Feb 2023, Marcelino de la Cruz Rot wrote: It depends on what you mean by "overimpose". Maybe this way? # some spatial polygon Please, in the spirit of the evolving r-spatial package ecosystem (maptools will retire d

Re: [R-sig-Geo] Spatial nested grid in R

2023-02-10 Thread Marcelino de la Cruz Rot
uot;, add=T) plot(B, border="red", add=T) plot(A, add=T) Cheers, Marcelino El 10/02/2023 a las 13:29, Manuel Spínola escribió: Thank you very much Marcelino. And how can overimpose those grids to a spatial polygon? Manuel On Fri, 10 Feb 2023 at 03:09 Marcelino de la Cruz Ro

Re: [R-sig-Geo] Spatial nested grid in R

2023-02-10 Thread Marcelino de la Cruz Rot
km x 4km, and in each of those I want 4 tiles of 2km x 2km, and in each of those I want 4 tiles of 1km x 1km. Manuel -- Marcelino de la Cruz Rot Coordinador funcional de Biología Depto. de Biología y Geología Física y Química Inorgánica Universidad

Re: [R-sig-Geo] Problem with writing a function that attaches atributes from polygons of a shapefile to the points of a grid

2023-01-23 Thread Marcelino de la Cruz Rot
tive HTML version deleted]] _______________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Marcelino de la Cruz Rot Coordinador funcional de Biología Depto. de Biología y Geología Física y Química Inorgánic

Re: [R-sig-Geo] raster::levels() not working in packaged function.

2020-10-31 Thread Marcelino de la Cruz Rot
R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] unsubscribing R mailing list

2020-09-21 Thread Marcelino de la Cruz Rot
]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España

Re: [R-sig-Geo] Filtering a set of points in a "ppp" object by distance using marks

2020-09-16 Thread Marcelino de la Cruz Rot
Sorry, I meant to say subset(insects.ppp, marks=="termiNests" & ddd[,"antNests"] >20) El 16/09/2020 a las 9:18, Marcelino de la Cruz Rot escribió: Hi Alexandre, may be this? ddd <- nndist(insects.ppp, by=factor(insects.ppp$marks)) subset(insects.ppp,  marks==&

Re: [R-sig-Geo] Filtering a set of points in a "ppp" object by distance using marks

2020-09-16 Thread Marcelino de la Cruz Rot
termiNests" to "antNests" marks and not the "termiNests" with "termiNests" too. Please any ideas? Thanks in advanced, -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] Simple Ripley's CRS test for market point patters

2019-07-23 Thread Marcelino De La Cruz Rot
e.net/profile/Alexandre_Santos10 > LinkedIn: > br.linkedin.com/in/alexandre-dos-santos-87961635Mendeley:www.mendeley.com/profiles/alexandre-dos-santos6/ > ========== > > > > [[alterna

Re: [R-sig-Geo] problem with enveloped test in spatstat

2018-04-21 Thread Marcelino de la Cruz Rot
__ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo mailing

Re: [R-sig-Geo] [R] How to label a polygon window (spatstat package)

2018-02-10 Thread Marcelino de la Cruz Rot
lm, Sweden |  mashra...@yahoo.com __ r-h...@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducib

Re: [R-sig-Geo] Splitting spatial lines at self intersections (line crossings)

2018-01-26 Thread Marcelino de la Cruz Rot
deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo _______________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinf

Re: [R-sig-Geo] Extract all point in a quadrats by spatstat package

2017-11-28 Thread Marcelino de la Cruz Rot
ailman/listinfo/r-sig-geo -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] Autologistic regression in R

2017-11-15 Thread Marcelino de la Cruz Rot
]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo

Re: [R-sig-Geo] Spatial clusters with equal number of objects (2)

2017-10-31 Thread Marcelino de la Cruz Rot
grid of 500mx500m cells) with an equal number of objects per cluster? I tried to attach an example of what I mean but I think the message was never delivered. Regards -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España

Re: [R-sig-Geo] WorldClim Version2

2017-09-28 Thread Marcelino de la Cruz Rot
e that ties in with packages like BIEN would be great. Perhaps I'll work on it someday. -A On 9/25/17, 11:32 AM, "Marcelino de la Cruz Rot" wrote: Hello Andy, I've been using raster to play with WordlClim 2.0 and it works fine. For example: # Download 2.5' arc P data

Re: [R-sig-Geo] WorldClim Version2

2017-09-25 Thread Marcelino de la Cruz Rot
__ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Re: [R-sig-Geo] quadracount on multitype points

2017-09-13 Thread Marcelino de la Cruz Rot
wish to achieve? cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 This email and any files transmitted with it are confi...{{dropped:3}} ___ R-sig-Geo mailing list R-sig-Geo

Re: [R-sig-Geo] quadracount on multitype points

2017-09-13 Thread Marcelino de la Cruz Rot
plot it in a single grid. Thanks, Guy This email and any files transmitted with it are confide...{{dropped:10}} ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto. de Bio

Re: [R-sig-Geo] Wavelet analysis of anisotropy in point patterns

2017-07-19 Thread Marcelino de la Cruz Rot
62.x I wonder how I can do the same analysis using R. Thanks, Dome ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química In

Re: [R-sig-Geo] Wavelet analysis of anisotropy in point patterns

2017-07-18 Thread Marcelino de la Cruz Rot
the same analysis using R. Thanks, Dome -- Marcelino de la Cruz Rot Depto. de Biología y Geología Física y Química Inorgánica Universidad Rey Juan Carlos Móstoles España ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/l

Re: [R-sig-Geo] Test for difference between two pint patterns

2017-07-17 Thread Marcelino de la Cruz Rot
ut I'm not sure however. Thanks in advance for any advice Paolo [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo . -- Marcelino de la Cruz Rot Depto

Re: [R-sig-Geo] [FORGED] Re: Making an hexagonal grid using spsample

2017-03-04 Thread Marcelino de la Cruz Rot
My apologies for such a pair (or more) of embarrassing mistakes! I should read a bit more these days... Marcelino El 04/03/2017 a las 2:31, Rolf Turner escribió: On 04/03/17 08:38, Marcelino de la Cruz Rot wrote: Hi Manuel, I do answer to the question "How can I make a spatial grid

Re: [R-sig-Geo] Making an hexagonal grid using spsample

2017-03-03 Thread Marcelino de la Cruz Rot
:28992") xx <- spsample(meuse.grid, type = "hexagonal", cellsize = 62.04*2) xx <- HexPoints2SpatialPolygons(xx) rgeos::gArea(xx, byid=TRUE) It gave me an area per hexagon = 1.19 Both results are wrong, because I was expecting close to 1. How can I make a spatial grid of 1

Re: [R-sig-Geo] create point density raster OR other ways to thin point data

2013-02-24 Thread MARCELINO DE LA CRUZ ROT
igma" or whether this function even what I need to meet my ultimate goal. Any alternative solutions for thinning point data are also appreciated. ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/

Re: [R-sig-Geo] Contour plot for point process

2013-02-05 Thread MARCELINO DE LA CRUZ ROT
ral de Educação, Ciência e Tecnologia de Mato Grosso ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- MARCELINO DE LA CRUZ ROT Universidad Politecnica de Madrid ___