calc_synchrony: Calculate synchrony among species or locations

View source: R/deprecated.R

calc_synchronyR Documentation

Calculate synchrony among species or locations

Description

calc_synchrony calculates synchrony

Usage

calc_synchrony(Report, Data, yearbounds_zz = matrix(c(1, Data$n_t), nrow = 1))

Arguments

Report

output report, e.g., from Report <- obj$report()

Data

tagged list of input data

yearbounds_zz

matrix with two columns, giving first and last years for defining one or more periods (rows) used to calculate changes in synchrony over time (only used if Options['Calculate_Synchrony']=1)

Value

Tagged list containing measures of synchrony

phi_xz

Synchrony index for each site (x) and each period (row of yearbounds_zz)

phi_z

weighted-average of phi_xz for each period, weighted by average community-abundance at each site in that period


James-Thorson/FishStatsUtils documentation built on Feb. 6, 2024, 4:26 a.m.