Learn R Programming

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

pgirmess (version 2.0.2)

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

4,028

Version

2.0.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

April 7th, 2023

Functions in pgirmess (2.0.2)

findR

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

Computes the total length of a polyline.
dirSeg

Computes segment directions.
kruskalmc

Multiple comparison test after Kruskal-Wallis
classnum

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

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

Computes the distances between each nodes of a polyline.
ks.gof

Kolmogorof-Smirnov goodness of fit test to normal distribution
distNNeigh

Computes distances to the nearest neighbour
distSeg

Computes distances between the top coordinates of segments.
friedmanmc

Multiple comparisons after Friedman test
polycirc

Computes the polygon coordinates of a circle
expandpoly

Homothetia (size expansion) of a polygon
shannon

Computes Shannon's and equitability indices
tabcont2categ

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

Count the nearest observations to points corresponding to track intervals
difshannonbio

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

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

Computes new coordinates given bearings and distances.
piankabioboot

Bootstrap Pianka's index
piankabio

Computes the Pianka's index of niche overlap
pairsrp

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

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

Model selection according to information theoretic methods
permcont

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

Boostrap Shannon's and equitability indices
polycirc2

Computes the polygon coordinates of a circle sector
pave

Provide square polygons or their node coordinates along a segment
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
preybiom

Jackal and Genet diet in Algeria
siegelp179

Data on rats training
trans2seg

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

Thin a track just keeping the points separated by a user defined minimal distance
transLines2pix

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

Write a data.frame that has Chinese characters
print.mc

print method for objects of class 'mc'
bbox2sf

Convert a bounding box into a sf object.
date2winter

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

Draw line segments between pairs of points.
correlog

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

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

Computes the edge of a square from its diagonal
TukeyHSDs

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

Confidence interval of percentages