Description Usage Arguments Value Examples
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.
1 | s_matrixacf(matrix, boolean, fn)
|
inputParameter1 |
matrix of NTU abundances in rows and sample dates in columns |
inputParameter2 |
boolean is a matrix of 1's and 0's from the previous linear model code indicating which NTUs are connected (1's) |
inputParameter3 |
fn is a file name for the output |
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.
1 | Run diagnostic with this command: s_matrixacf(matrix=, boolean=,fn=)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.