Learn R Programming

optsize (version 0.1.0)

serial_corrl: computes the first-order serial correlation for both directions.

Description

computes the first-order serial correlation for both directions.

Usage

serial_corrl(df_mat)

Value

A named list with two elements:

  • vertical: first-order serial correlation along vertical snake

  • horizontal: first-order serial correlation along horizontal snake

Arguments

df_mat

A numeric matrix