phaseDist: Calculates phase distributions

phaseDistR Documentation

Calculates phase distributions

Description

calculates the circular mean and R statistics, copied from package CircStats and after http://en.wikipedia.org/wiki/Directional_statistics#Measures_of_location_and_spread and https://en.wikipedia.org/wiki/Mean_of_circular_quantities TODO: recognize bimodal?

Usage

phaseDist(phs, w, degrees = TRUE)

Arguments

phs

vector of phases in degrees

w

optional weights for weighted mean

degrees

phases are in degrees (0-360), set FALSE for radians


raim/segmenTools documentation built on Sept. 9, 2024, 5:24 p.m.