similar to: using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame

Displaying 20 results from an estimated 900 matches similar to: "using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame"

2009 Aug 16
1
How to use your own data in gstat and sp?
This seems pretty basic, but I can't get any data to work except for the documented examples. When the goal is to get to SpatialPixels, here is what I see... > x <- runif(10,1,10) > y <- runif(10,1,10) > z <- rnorm(10,0,1) > MyData <- as.data.frame(cbind(x,y,z)) > library(gstat) > coordinates(MyData) <- ~x + y > gridded(MyData) <- TRUE suggested
2010 Jun 25
1
variograms and kriging
Hello Trying to develop variograms and kriged surfaces from a point file. Here is what I've done so far. library(gstat) # also loads library(sp) library(lattice) soilpts$x <- soilpts$UTM_X soilpts$y <- soilpts$UTM_Y soil.dat <- subset(soilpts, select=c(x, y, Area, BulkDensity, LOI, TP, TN, TC, Total_Mg)) dim(soil.dat) [1] 1292 7 coordinates(soil.dat) <- ~ x+y
2011 Feb 09
0
adehabitatMA, LT, HR and HS version 0.1
Dear all, I have just uploaded 4 new packages on CRAN, which are on the long term designed to replace the "old" package adehabitat: * adehabitatMA: functions to perform spatial operations (morphology, buffer, etc.) * adehabitatHS: functions for the analysis of habitat selection by wildlife * adehabitatHR: functions for home range estimation of animals * adehabitatLT: functions for
2011 Feb 09
0
adehabitatMA, LT, HR and HS version 0.1
Dear all, I have just uploaded 4 new packages on CRAN, which are on the long term designed to replace the "old" package adehabitat: * adehabitatMA: functions to perform spatial operations (morphology, buffer, etc.) * adehabitatHS: functions for the analysis of habitat selection by wildlife * adehabitatHR: functions for home range estimation of animals * adehabitatLT: functions for
2017 Jun 01
0
[spatstat] Convert shapefile to pixel image
Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file: x <- readShapeSpatial("200001441.shp") y <- as(x, "SpatialPolygons") z <- as.owin(y) Given z, I want to identify each
2011 Jul 26
1
(no subject)
Hello I have been trying to figure out how to randomly select a number of records. I have a column "ID" which contains 16 individuals (numbered 1-16), each individual has a few hundred rows of GPS locations associated with it. I am trying to select a random sample of these individuals (with all their associated GPS locations) to run a kernel density analysis on, and need to repeat this
2017 Jun 01
0
[spatstat] Convert shapefile to pixel image
On 02/06/17 01:17, Lluis.Hurtado at uv.es wrote: > Dear all, > > I am currently working with the spatstat package, using windows and pixel images. > > First: > > My aim is to transform a shapefile (see attached) into a pixel image. > > My idea is to start transforming the shapefile into a Spatial Polygon file: > > x <-
2017 Jun 01
3
[spatstat] Convert shapefile to pixel image
Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file: x <- readShapeSpatial("200001441.shp") y <- as(x, "SpatialPolygons") z <- as.owin(y) Given z, I want to identify each
2008 Jul 01
2
Are centre coordinates or upper left corners used of x, y for SpatialPixels?
Dear all, I'm working with satellite images in R and plotting them via the code below. I was wondering whether coordinates (spatial["x"], spatial["y"]) are used as centre coordinates of the pixels in the GRID? In this script; spatial["x"] & spatial["y"] are the centre coordinates of the satellite image pixels. I'm asking this because some
2012 May 14
2
package ‘adehabitat’ is not available (for R version 2.15.0) on Mac OS X
Hi R- User,I tried to load package adehabitat for R version 2.15.0. But, I got error. even I download and save in local drive and tried to install from the local file. but still i got the following errors install.packages("adehabitat", repos='C:/adehabitat_1.8.10.tgz') package ‘adehabitat’ is not available (for R version 2.15.0) > install.packages("adehabitat",
2010 Apr 10
0
adehabitat raster import
Hello all, I'm new to adehabitat and am having trouble getting my ascii files into the r. I have 45 environmental data layers that are all stored in a folder as ascii files. Is there an easy way to pull in all 45 of my data layers into a kasc dataframe. I'm not new to r or multivariate modeling, but the documentation seems confusing. I've experimented with bringing a few of them in 1
2009 Feb 24
0
[SoC09-Idea] Movement Ecology add-ons for adehabitat package
Hi all, here's a proposal for a SoC project on wildlife movement patterns analysis. A MSc student is available to anwser the call, of course. The idea has already been briefly discussed with the mantainer of the adehabitat package and the AniMov project community. Short description Develop some add-on functions to use the adehabitat package to perform basic movement ecology analysis, in
2007 Dec 04
1
How can I use Adehabitat to obtain an .asc object with the predicted values of a niche model?
Dear all, I'm using the package adehabitat in R to import several .asc files (=matrix), and also create a kasc object (=dataframe) with all of them. The main idea is to use this kasc object to map the predicted values of climate-matching model for an overall area. However, I don't know how to proceed: Do I have to project the model (already stored in R) onto the kasc object directly, or
2008 Oct 27
0
adehabitat version 1.8
Dear all, I have uploaded to CRAN the version 1.8 of the package 'adehabitat'. Significant changes are listed below: * getverticeshr now relies on the function contourLines(), and returns smoother estimates of the kernel home range (see the help page). * the new function kernelkc (and related functions) now allows the estimation of the utilization distribution in space and time of
2004 Sep 24
0
New package: adehabitat
Dear all, I have just uploaded a package to CRAN a new package called 'adehabitat'. This package is intended for ecologists who want to analyse the use of space by animals. Many functions currently used in this field are available to highlight habitat selection by animals (selection ratios, ENFA, habitat suitability maps with the algorithm DOMAIN or Resource Selection Functions) or to
2004 Sep 24
0
New package: adehabitat
Dear all, I have just uploaded a package to CRAN a new package called 'adehabitat'. This package is intended for ecologists who want to analyse the use of space by animals. Many functions currently used in this field are available to highlight habitat selection by animals (selection ratios, ENFA, habitat suitability maps with the algorithm DOMAIN or Resource Selection Functions) or to
2010 Apr 17
0
adehabitat functions
Is there a way to just build a madifa function in adehabitat just using a .csv file with presences and the corresponding environmental data? I'm trying to model the species distribution of a species using 45 environmental grids and r crashes after loading just 5 of them. I'd like to develop the function and then predict it using a line by line predict function, but can't figure out if
2007 Oct 02
0
Adehabitat package question - trying to generate animal home ranges
Hello, I'm new to R and am trying to use the adehabitat package for home range and habitat selection analysis for some animal radiotelemetry data sets I have, but I can't get the home range functions (mcp & kernelUD) to work with my data. I think that my problem is that I don't properly understand how the package uses data frames and factors, and I may not be defining the id
2007 May 31
0
adehabitat version 1.6
Dear all, I have just uploaded to CRAN the version 1.6 of the package 'adehabitat'. Significant changes are listed below: * The package has been reorganized into four parts (see ?adehabitat-package for a description): (i) management of raster maps, (ii) habitat selection / ecological niche analysis, (iii) home range analysis, and (iv) analysis of animals trajects. The package contains
2007 May 31
0
adehabitat version 1.6
Dear all, I have just uploaded to CRAN the version 1.6 of the package 'adehabitat'. Significant changes are listed below: * The package has been reorganized into four parts (see ?adehabitat-package for a description): (i) management of raster maps, (ii) habitat selection / ecological niche analysis, (iii) home range analysis, and (iv) analysis of animals trajects. The package contains