remove broken R scripts

This commit is contained in:
Giovanni Manghi 2015-05-07 11:11:51 +01:00
parent c6735cc893
commit 15323b8b8b
8 changed files with 0 additions and 160 deletions

View File

@ -1,8 +0,0 @@
##Home Range Analysis=group
##Layer=vector
##Field=Field Layer
##Home_ranges=Output vector
library(adehabitatHR)
library(deldir)
res <- CharHull(Layer[,Field])
Home_ranges<-getverticeshr(res)

View File

@ -1,26 +0,0 @@
(dp0
S'ALG_DESC'
p1
VThis script computes the Characteristic Hull method that relies on the calculation of the Delaunay triangulation of the set of relocations. Then, the triangles are ordered according to their area (and not their perimeter). The smallest triangles correspond to the areas the most intensively used by the animals. It is then possible to derive the home range estimated for a given percentage level.\u000a\u000aR depencies: library "adehabitatHR" and "deldir".\u000a
p2
sS'Home_ranges'
p3
VThe home-range contours.
p4
sS'ALG_CREATOR'
p5
VFilipe S. Dias, filipesdias(at)gmail.com
p6
sS'Layer'
p7
VA layer containing the relocations of one or more animals
p8
sS'Field'
p9
VThe field containing the unique indentifer for each animal (type "string").
p10
sS'ALG_HELP_CREATOR'
p11
VFilipe S. Dias, filipesdias(at)gmail.com
p12
s.

View File

@ -1,5 +0,0 @@
##Vector processing=group
##Layer = vector
##showplots
##Field=Field Layer
dotchart(Layer[[Field]],main=paste("Dotplot of",Field),xlab=paste(Field),ylab="Observation number")

View File

@ -1,22 +0,0 @@
(dp0
S'ALG_CREATOR'
p1
VFilipe S. Dias
p2
sS'Field'
p3
VA numeric field.
p4
sS'ALG_DESC'
p5
VThis tool uses dotchart() to create a dotplot using the values from a numeric field.\u000a
p6
sS'Layer'
p7
VA vector layer with a numeric field.
p8
sS'ALG_HELP_CREATOR'
p9
VFilipe S. Dias
p10
s.

View File

@ -1,15 +0,0 @@
##Home Range Analysis=group
##Layer=vector
##Field=Field Layer
##Grid=number 10
##Percentage=number 10
##Home_ranges=Output vector
##Folder=folder
library(adehabitatHR)
Layer[,Field]->relocs
kud <- kernelUD(relocs, grid=,Grid, h="href")
names(kud)->Names
for(i in 1:length(Names)){
writeGDAL(kud[[i]],paste(paste(Folder,"/",sep=""),paste(Names[i],".tiff",sep=""), sep=""),drivername="GTiff")
}
Home_ranges<- getverticeshr(kud,percent=Percentage)

View File

@ -1,38 +0,0 @@
(dp0
S'ALG_DESC'
p1
VThis algorithm computes the home range of one or more animals using a kernel density estimator and it uses the ad-hoc method to estimate the "h" parameter (href).\u000a\u000aR depencies: library "adehabitatHR"
p2
sS'Home_ranges'
p3
VA vector containing the home ranges corresponding to the smallest area on which the probability of relocating an animal is equal to value chosen for the "Percentage" parameter.\u000a
p4
sS'ALG_CREATOR'
p5
VFilipe S. Dias, filipesdias(at)gmail.com \u000a \u000a
p6
sS'Layer'
p7
VA vector containing the relocations of one or more animails.
p8
sS'Field'
p9
VThe field that contains the unique identifier (type "string") for each animal.
p10
sS'Grid'
p11
VThe size of the grid (number of cells) on which the utilization distribution is calculated by the kernel function.
p12
sS'ALG_HELP_CREATOR'
p13
VFilipe S. Dias, filipesdias(at)gmail.com
p14
sS'Folder'
p15
VThe ouput folder where the rasters containing the utilization distributions generated for each animal by the kernel funciton will be sent.
p16
sS'Percentage'
p17
VA single value giving the percentage level for home-range estimation. \u000a\u000aFor example, Percentage= 95 corresponds to the smallest area on which the probability to relocate the animal is equal to 0,95.
p18
s.

View File

@ -1,12 +0,0 @@
##Home Range Analysis=group
##showplots
##Layer=vector
##Field=Field Layer
##Percentage=number 10
##Home_ranges=Output vector
library(adehabitatHR)
uu<-clusthr(Layer[,Field])
Home_ranges<-getverticeshr(uu,percent=Percentage)
ii <- MCHu2hrsize(uu, percent=seq(50, 100, by=5))
par(mar=c(2,2,2,2))
plot(ii)

View File

@ -1,34 +0,0 @@
(dp0
S'ALG_DESC'
p1
VThis script estimates the home range of one or more animals by single-linkage cluster analysis.\u000a\u000aR depencies: library "adehabitatHR"
p2
sS'Home_ranges'
p3
VA multipart vector layer containing the home ranges of each animal, according to the selected "Percentage" value.
p4
sS'ALG_CREATOR'
p5
VFilipe S. Dias, filipesdias(at)gmail.com
p6
sS'Layer'
p7
VA vector layer containing the relocations of one or more animals.
p8
sS'Field'
p9
VThe field that contains the unique identifier (type "string") for each animal.
p10
sS'RPLOTS'
p11
VA plot showing the relationship between the home range size and the percentage of relocations included in the home range.\u000a
p12
sS'ALG_HELP_CREATOR'
p13
VFilipe S. Dias, filipesdias(at)gmail.com
p14
sS'Percentage'
p15
VPercentage of the relocations used in the calculations.
p16
s.