fit_DFA: Fit DFA to timeseries datasets

Description Usage Arguments Examples

View source: R/fit_dfa.R

Description

This builds on DFA tutorial here: https://nwfsc-timeseries.github.io/AFTSLabbook/sec-dfa-plot-data.html

Usage

1
fit_DFA(df, proc = 3, id, plot = TRUE, yr_frst, yrlast, clr = clr)

Arguments

df

is a matrix of time series

proc

is the number of underlying processes, defaults to 3

id

is the name of each time series

plot

specifies whether fits and loadings should be plotted, defaults to TRUE

clr

is a vector of colours applied to each time series if plot = TRUE

yr_first

is the first year of the time series

yr_last

is the last year of the time series

Examples

1

jpwrobinson/funk documentation built on Nov. 21, 2021, 11:23 p.m.