s_matrixacf: Checks non-normal distribution of residuals from linear model...

Description Usage Arguments Value Examples

Description

Need a dataset with no gaps in the time series. The autocorrelation function is sensitive to the order of the variables in the linear model so generates data for both cases. Difference the data (lag=12 for monthly data) to pre-whiten the data.

Usage

1
s_matrixacf(matrix, boolean, fn)

Arguments

inputParameter1

matrix of NTU abundances in rows and sample dates in columns inputParameter1

inputParameter2

boolean is a matrix of 1's and 0's from the previous linear model code indicating which NTUs are connected (1's) inputParameter2

inputParameter3

fn is a file name for the output inputParameter3

Value

output A boolean matrix of connections that fail (1’s). Results are in the upper triangle. Need to subtract this matrix from the matrix of connections.

Examples

1
Run diagnostic with this command:  s_matrixacf(matrix=, boolean=,fn=)

kevinvergin/BATSLSA documentation built on May 20, 2019, 9:20 a.m.