Learn R Programming

AnimalAPD (version 1.0.0)

APDraw: Calculate Raw APD Values

Description

Calculates raw APD values, uncorrected for hierarchical data structure

Usage

APDraw(focal, contingent, adjust = 1)

Arguments

focal

Vector of observations in radians of one species/group/individual/etc. for which predictions on another will be made

contingent

Vector of observations in radians of a species/group/individual/etc. from which predictions will be made

adjust

Smoothing of predicted line; recommended to use default value for observed values and higher value for estimations from circular models; default=1

Value

Numeric vector of raw APD values, without correction for nested data structure

Examples

Run this code
# NOT RUN {
data(wolfexample)
data(boarexample)
APDraw(focal=wolfexample$Radians, contingent=boarexample$Radians)

# }

Run the code above in your browser using DataLab