Skip to contents

Prepare

Standardise the traits, relativise fitness and check the data

prepare_selection_data()
Prepare data for selection analysis
detect_family()
Automatically detect fitness type and GLM family
check_selection_assumptions()
Check the assumptions behind a selection analysis

Differentials and gradients

Selection differentials, linear and quadratic gradients, their intervals and canonical axes

selection_differential()
Calculate selection differential (S)
selection_coefficients()
Calculate selection coefficients
analyze_linear_selection()
Analyze linear selection gradients (beta)
analyze_nonlinear_selection()
Analyze nonlinear selection gradients (gamma)
analyze_disruptive_selection()
Disruptive or stabilising selection on one trait
extract_linear_coefficients()
Extract linear selection coefficients
extract_quadratic_coefficients()
Extract quadratic selection coefficients
extract_interaction_coefficients()
Extract correlational selection coefficients
bootstrap_selection()
Bootstrap selection gradients
canonical_analysis()
Canonical analysis of the gamma matrix
plot_canonical_axes()
Fitness along the canonical axes
selection_report()
Standardised selection analysis report

Fitness functions and surfaces

Spline fitness functions for one trait and fitness surfaces for two

univariate_spline()
Estimate univariate correlated fitness function
plot_univariate_fitness()
Plot Univariate Correlated Fitness Function
correlated_fitness_surface()
Calculate the Correlated Fitness Surface
plot_correlated_fitness()
Plot Correlated Fitness Surface
plot_correlated_fitness_enhanced()
Plot Enhanced Correlated Fitness Surface
peak_difference()
Compare the fitted fitness at two points of a surface

Adaptive landscape

Mean fitness against the population mean, and how it compares with the individual surface

adaptive_landscape()
Calculate Adaptive Landscape
plot_adaptive_landscape()
Plot Adaptive Landscape
plot_adaptive_landscape_3d()
Plot Adaptive Landscape (3D Perspective)
compare_fitness_surfaces_data()
Compare Correlated Fitness Surface vs Adaptive Landscape
plot_fitness_surfaces_comparison()
Plot Fitness Surfaces Comparison

Over time

One fitness function or surface per period

temporal_landscape()
Fitness functions and adaptive landscapes over time
plot_temporal_landscape()
Plot fitness functions and landscapes over time

App

The whole workflow in a browser

run_app()
Open the Shiny app
lande lande-package
lande: Tools for Evolutionary Selection Analysis

Datasets

Example datasets included with lande

bumpus
Bumpus house sparrow survival data
crescent_pond_pupfish little_lake_pupfish
Pupfish hybrid survival in two San Salvador lakes
finch_yearly
Medium ground finch survival from year to year
finch_community
Darwin's finch community at El Garrapatero
print(<selection_report>)
Print a selection report
print(<adaptive_landscape>)
Print method for adaptive landscape
print(<selection_assumptions>)
Print the assumption checks