Learn R Programming

pez (version 1.2-5)

Phylogenetics for the Environmental Sciences

Description

Eco-phylogenetic and community phylogenetic analyses. Keeps community ecological and phylogenetic data matched up and comparable using 'comparative.comm' objects. Wrappers for common community phylogenetic indices ('pez.shape', 'pez.evenness', 'pez.dispersion', and 'pez.dissimilarity' metrics). Implementation of Cavender-Bares (2004) correlation of phylogenetic and ecological matrices ('fingerprint.regression'). Phylogenetic Generalised Linear Mixed Models (PGLMMs; 'pglmm') following Ives & Helmus (2011) and Rafferty & Ives (2013). Simulation of null assemblages, traits, and phylogenies ('scape', 'sim.meta.comm').

Copy Link

Version

Install

install.packages('pez')

Monthly Downloads

675

Version

1.2-5

License

GPL-3

Maintainer

William Pearse

Last Published

August 28th, 2025

Functions in pez (1.2-5)

pez.endemism

Calculate (phylogenetic) endemism
pez.evenness

Calculate (phylogenetic) evenness: examine assemblage composition and abundance
pez.metrics

Phylogenetic and functional trait metrics within pez
laja

Macroinvertebrate samples from the Rio Laja of Mexico
pez

Phylogenetics for the Environmental Sciences
pez.dispersion

Calculate (phylogenetic) dispersion: examine assemblages in the context of a source pools
pez.shape

Calculate (phylogenetic) shape: examine assemblage composition
pez.dissimilarity

Calculate (phylogenetic) dissimilarity: compare assemblages to one-another
pez-internal

Internal pez Functions
generic.metrics

Calculate any metric(s) (and compare with null distributions)
trait.asm

Produces simulated communities based on species attributes
plot.comparative.comm

Dot-plots of community presence/absence or abundance
scape

Simulate phylogenetic community structure across a landscape
sim.phy

Simulate phylogenies
phy.signal

Calculate phylogenetic `signal'
traitgram.cc

Traitgram for comparative community object
sim.meta

Simulate a meta-community (and its phylogeny)
phy.build

Build a novel phylogeny from existing data
pglmm

Phylogenetic Generalised Linear Mixed Model for Community Data
comparative.comm

Creates a community comparative ecology object, the basis of all functions in pez
fingerprint.regression

Regress trait evolution against trait ecology (following Cavender-Bares et al. 2004)
cc.manip

Manipulating and examining comparative.comm objects
eco.scape

eco.space scape simulation with a macro-ecological focus
eco.xxx.regression.list

List of eco.xxx.regressions
ConDivSim

Null models for functional-phylogenetic diversity
fibre.plot

fibre.plot (fibrously) plots a phylogeny
eco.xxx.regression

eco.xxx.regression
drop_tip

Trim a phylogeny
dist.xxx

Make co-existence matrices based on phylogeny (and/or) traits, and community or environemntal overlap