circ_coef: Compute circular coefficients from linear coefficients

View source: R/utils.R

circ_coefR Documentation

Compute circular coefficients from linear coefficients

Description

circ_coef computes the coordinates of the inflection point of a circular effect, the slope at the inflection point and the unsigned and signed shortest distance to the origin.

Usage

circ_coef(a1, a2, b1, b2)

Arguments

a1

intercept of the first linear component.

a2

intercept of the second linear component.

b1

slope of the first linear component.

b2

slope of the second linear component.

Value

A dataframe containing the coordinates of the inflection point of a circular effect, the slope at the inflection point and the unsigned and signed shortest distance to the origin.


bpnreg documentation built on May 29, 2024, 12:35 p.m.