Learn R Programming

pgirmess (version 2.0.3)

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.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

January 24th, 2024

Functions in pgirmess (2.0.3)

cormat

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

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

Computes the edge of a square from its diagonal
correlog

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

Computes segment directions.
Segments

Draw line segments between pairs of points.
CI

Confidence interval of percentages
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
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.
distNNeigh

Computes distances to the nearest neighbour
kruskalmc

Multiple comparison test after Kruskal-Wallis
difshannonbio

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

Computes new coordinates given bearings and distances.
PermTest

Permutation test for lm, lme and glm (binomial and Poisson) objects
ks.gof

Kolmogorof-Smirnov goodness of fit test to normal distribution
tabcont2categ

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

Multiple comparisons after Friedman test
trans2pix

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

Model selection according to information theoretic methods
polycirc

Computes the polygon coordinates of a circle
shannon

Computes Shannon's and equitability indices
distNode

Computes the distances between each nodes of a polyline.
distSeg

Computes distances between the top coordinates of segments.
mergeTrackObs

Count the nearest observations to points corresponding to track intervals
polycirc2

Computes the polygon coordinates of a circle sector
pairsrp

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

Provide square polygons or their node coordinates along a segment
permcont

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

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

Convert a transect coordinate file into a matrix with segment coordinates.
writecn.delim

Write a data.frame that has Chinese characters
siegelp179

Data on rats training
preybiom

Jackal and Genet diet in Algeria
expandpoly

Homothetia (size expansion) of a polygon
print.mc

print method for objects of class 'mc'
piankabio

Computes the Pianka's index of niche overlap
piankabioboot

Bootstrap Pianka's index
transLines2pix

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

Boostrap Shannon's and equitability indices
st_thintrack

Thin a track just keeping the points separated by a user defined minimal distance
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
bbox2sf

Convert a bounding box into a sf object.