Package: pgirmess 2.0.3

pgirmess: Spatial Analysis and Data Mining for Field Ecologists

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.

Authors:Patrick Giraudoux [aut, cre], Jean-Philippe Antonietti [ctb], Colin Beale [ctb], Ulrike Groemping [ctb], Renaud Lancelot [ctb], David Pleydell [ctb], Mike Treglia [ctb]

pgirmess_2.0.3.tar.gz
pgirmess_2.0.3.zip(r-4.5)pgirmess_2.0.3.zip(r-4.4)pgirmess_2.0.3.zip(r-4.3)
pgirmess_2.0.3.tgz(r-4.4-any)pgirmess_2.0.3.tgz(r-4.3-any)
pgirmess_2.0.3.tar.gz(r-4.5-noble)pgirmess_2.0.3.tar.gz(r-4.4-noble)
pgirmess_2.0.3.tgz(r-4.4-emscripten)pgirmess_2.0.3.tgz(r-4.3-emscripten)
pgirmess.pdf |pgirmess.html
pgirmess/json (API)

# Install 'pgirmess' in R:
install.packages('pgirmess', repos = c('https://pgiraudoux.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pgiraudoux/pgirmess/issues

Datasets:

On CRAN:

43 exports 5 stars 6.28 score 19 dependencies 2 dependents 148 mentions 346 scripts 2.7k downloads

Last updated 8 months agofrom:6420bb2e6c. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 26 2024
R-4.5-winNOTEAug 26 2024
R-4.5-linuxNOTEAug 26 2024
R-4.4-winNOTEAug 26 2024
R-4.4-macNOTEAug 26 2024
R-4.3-winNOTEAug 26 2024
R-4.3-macNOTEAug 26 2024

Exports:bbox2sfCIclassnumcormatcorrelogdate2winterdiag2edgedifshannonbiodirProjdirSegdistNNeighdistNodedistSegdistTotexpandpolyfindRfriedmanmckruskalmcks.gofmergeTrackObspairsrppavepermcontPermTestpiankabiopiankabiobootpolycircpolycirc2print.mcSegmentsselModshannonshannonbioshannonbiobootst_thintracktabcont2categtrans2pixtrans2segtransLines2pixTukeyHSDsval4symbwrite.delimwritecn.delim

Dependencies:bootclassclassIntDBIdeldire1071KernSmoothlatticemagrittrMASSproxyRcpps2sfspspDataspdepunitswk

Readme and manuals

Help Manual

Help pageTopics
Convert a bounding box into a sf object.bbox2sf
Confidence interval of percentagesCI
Gives an index vector of the class category of each value of a numerical vectorclassnum print.clnum
Gives a correlation matrix and the probability of Ho for each correlationcormat
Computes Moran's or Geary's coefficients on distance classescorrelog plot.correlog print.correlog
Convert a POSIXt date into categories corresponding to a autumn/winter/spring sequencedate2winter
Computes the edge of a square from its diagonaldiag2edge
Empirical confidence interval of the bootstrap of the difference between two Shannon indicesdifshannonbio
Computes new coordinates given bearings and distances.dirProj
Computes segment directions.dirSeg
Computes distances to the nearest neighbourdistNNeigh
Computes the distances between each nodes of a polyline.distNode
Computes distances between the top coordinates of segments.distSeg
Computes the total length of a polyline.distTot
Homothetia (size expansion) of a polygonexpandpoly
Computes the distance between the centroid and the most distant coordinate of a geographical coordinate setfindR
Multiple comparisons after Friedman testfriedmanmc
Multiple comparison test after Kruskal-Walliskruskalmc kruskalmc.default kruskalmc.formula
Kolmogorof-Smirnov goodness of fit test to normal distributionks.gof
Count the nearest observations to points corresponding to track intervalsmergeTrackObs
Produces a matrix of scatterplot, regression coefficient and p(Ho)pairsrp
Provide square polygons or their node coordinates along a segmentpave
Random permutation of a contingency table n row x 2 columnspermcont
Permutation test for lm, lme and glm (binomial and Poisson) objectsPermTest PermTest.glm PermTest.lm PermTest.lme print.PermTest
Computes the Pianka's index of niche overlappiankabio
Bootstrap Pianka's indexpiankabioboot
Computes the polygon coordinates of a circlepolycirc
Computes the polygon coordinates of a circle sectorpolycirc2
Jackal and Genet diet in Algeriapreybiom
print method for objects of class 'mc'print.mc
Draw line segments between pairs of points.Segments
Model selection according to information theoretic methodsselMod selMod.glm selMod.list selMod.lm
Computes Shannon's and equitability indicesshannon
Computes Shannon's and equitability indices from a data frame of dietary analysis (n, biomass,...)shannonbio
Boostrap Shannon's and equitability indicesshannonbioboot
Data on rats trainingsiegelp179
Thin a track just keeping the points separated by a user defined minimal distancest_thintrack
Convert a contingency table (data.frame) into a presence/absence table of categoriestabcont2categ
Convert a transect coordinate file with some waypoints separated by NA into a matrix with intermediate coordinates replacing NA.trans2pix
Convert a transect coordinate file into a matrix with segment coordinates.trans2seg
Convert MULTILINESTRING and/or LINESTRING into POINT geometry with points at regular distance between nodestransLines2pix
Simplify the list of a TukeyHSD object keeping the significant differences only.TukeyHSDs
Center a numerical vector on a parameter position and provides absolute values and colors according to negative and positive valuesval4symb
Write a data.framewrite.delim
Write a data.frame that has Chinese characterswritecn.delim