cycpar: Computes the cyclic parameters from parameters linear model

Description Usage Arguments Value Examples

View source: R/cycpar.R

Description

This function computes the cyclic parameters from parameters linear model (see Verboon & Leontjevas, 2018)

Usage

1
cycpar(a1, a2, P)

Arguments

a1

b1*cos((2pi/P)*b2) , parameter of term cos((2pi/P)*T)

a2

b1*sin((2pi/P)*b2) , parameter of term sin((2pi/P)*T)

P

is the periodicity of the cycle

Value

The amplitude and phase of the cyclic process

Examples

1
cycpar(a1=.5,a2=1.0,P=24)

PeterVerboon/cyclicpkg documentation built on March 4, 2020, 1:27 p.m.