⚠️There's a newer version (2.0.3) of this package.Take me there.

pgirmess (version 2.0.0)

Spatial Analysis and Data Mining for Field Ecologists

Description

Set of tools for reading, writing and transforming spatial and seasonal data, model selection and specific statistical tests for ecologists. It includes functions to interpolate regular positions of points between landmarks, to discretize polylines into regular point positions, link distant observations to points and convert a bounding box in a spatial object. It also provides miscellaneous functions for field ecologists such as spatial statistics and inference on diversity indexes, writing data.frame with Chinese characters.

Copy Link

Version

Install

install.packages('pgirmess')

Monthly Downloads

2,918

Version

2.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

February 23rd, 2022

Functions in pgirmess (2.0.0)

cormat

Gives a correlation matrix and the probability of Ho for each correlation
CI

Confidence interval of percentages
bbox2sf

Convert a bounding box into a sf object.
correlog

Computes Moran's or Geary's coefficients on distance classes
diag2edge

Computes the edge of a square from its diagonal
date2winter

Convert a POSIXt date into categories corresponding to a autumn/winter/spring sequence
PermTest

Permutation test for lm, lme and glm (binomial and Poisson) objects
Segments

Draw line segments between pairs of points.
TukeyHSDs

Simplify the list of a TukeyHSD object keeping the significant differences only.
classnum

Gives an index vector of the class category of each value of a numerical vector
friedmanmc

Multiple comparisons after Friedman test
distNode

Computes the distances between each nodes of a polyline.
dirSeg

Computes segment directions.
kruskalmc

Multiple comparison test after Kruskal-Wallis
findR

Computes the distance between the centroid and the most distant coordinate of a geographical coordinate set
difshannonbio

Empirical confidence interval of the bootstrap of the difference between two Shannon indices
distSeg

Computes distances between the top coordinates of segments.
writecn.delim

Write a data.frame that has Chinese characters
tabcont2categ

Convert a contingency table (data.frame) into a presence/absence table of categories
trans2pix

Convert a transect coordinate file with some waypoints separated by NA into a matrix with intermediate coordinates replacing NA.
piankabio

Computes the Pianka's index of niche overlap
piankabioboot

Bootstrap Pianka's index
distNNeigh

Computes distances to the nearest neighbour
pave

Provide square polygons or their node coordinates along a segment
dirProj

Computes new coordinates given bearings and distances.
selMod

Model selection according to information theoretic methods
permcont

Random permutation of a contingency table n row x 2 columns
polycirc

Computes the polygon coordinates of a circle
shannon

Computes Shannon's and equitability indices
shannonbio

Computes Shannon's and equitability indices from a data frame of dietary analysis (n, biomass,...)
transLines2pix

Convert MULTILINESTRING and/or LINESTRING into POINT geometry with points at regular distance between nodes
polycirc2

Computes the polygon coordinates of a circle sector
shannonbioboot

Boostrap Shannon's and equitability indices
siegelp179

Data on rats training
st_thintrack

Thin a track just keeping the points separated by a user defined minimal distance
ks.gof

Kolmogorof-Smirnov goodness of fit test to normal distribution
trans2seg

Convert a transect coordinate file into a matrix with segment coordinates.
val4symb

Center a numerical vector on a parameter position and provides absolute values and colors according to negative and positive values
write.delim

Write a data.frame
expandpoly

Homothetia (size expansion) of a polygon
distTot

Computes the total length of a polyline.
pairsrp

Produces a matrix of scatterplot, regression coefficient and p(Ho)
mergeTrackObs

Count the nearest observations to points corresponding to track intervals
print.mc

print method for objects of class 'mc'
preybiom

Jackal and Genet diet in Algeria