Learn R Programming

activityGCMM (version 1.1.1)

calcprop: Calculate proportions of circular variable within an interval

Description

Support function that calculates proportion of a vector of circular data within an interval

Usage

calcprop(x, p1, p2)

Arguments

x

Vector of data

p1

Number identifying start of interval

p2

Number identifying end of interval

Value

Returns proportion of the vector within the interval