[R-sig-Geo] spatstat output

2013-07-07 Thread catalin roibu
Dear R users, Is there a possibility to extract only the r, CI's envelope and L function from the output of spatstat? I use this code E - alltypes(df1, Kest, nsim = 100, envelope = TRUE,savepatterns=TRUE,correction=isotropic) And second question, is there a possibility to modify the margin of plot

Re: [R-sig-Geo] spatstat output

2013-07-07 Thread Hodgess, Erin
Hello! For the first question, here is an example: E - alltypes(bramblecanes, Kest, nsim = 100, envelope = + TRUE,savepatterns=TRUE,correction=isotropic) E$fns[[1]]$r E$fns[[1]]$obs From: r-sig-geo-boun...@r-project.org

Re: [R-sig-Geo] alternative for spixdf2kasc from adehabitat package

2013-07-07 Thread Mathieu Basille
Dear Andres, In addition to Alexandre's answers, did you try with the RGDAL package? Something like: veg - readGDAL(~/Desktop/natur_inter.asc) This should solve your problem: the asc should be imported as a SpatialPixel object, which can then be used in the new version of adehabitat

[R-sig-Geo] Error when installing rgeos

2013-07-07 Thread Ferdinand Bersse
Dear list, I am trying to install rgeos package in a Red-Hat Linux server, but I receive the following error in the install report. I would appreciate any insights on how to solve the problem: Installing package(s) into ‘/home/fvb/R/x86_64-unknown-linux-gnu-library/2.15’ (as ‘lib’ is

Re: [R-sig-Geo] SEM model : system is singular

2013-07-07 Thread Roger Bivand
On Thu, 4 Jul 2013, erwin wrote: Hi, I have to do a spatial model for my master thesis. If I do a SEM or SAR model i get the message: Fehler in solve.default(asyvar, tol = tol.solve) : System ist für den Rechner singulär: reziproke Konditionszahl = 3.61856e-20 In other posts i have read

Re: [R-sig-Geo] alternative for spixdf2kasc from adehabitat package

2013-07-07 Thread Andres Merino-Viteri
Thanks Alex and Mathieu for your replies. I am familiar with the new packages related to the old adehabitat. Finally, I solved my problem using rgdal and SDMTools packages as the following way: Veg - readGDAL(~/Desktop/natur_inter.asc) Veg2=raster(Veg) blaK - asc.from.raster(Veg2)