Learn R Programming

staRdom (version 1.1.28)

ssc: Calculate the shift-and shape-sensitive congruence (SSC) between two matrices

Description

Please see details in: U.J. Wünsch, R. Bro, C.A. Stedmon, P. Wenig, K.R. Murphy, Emerging patterns in the global distribution of dissolved matter fluorescence, Anal. Methods, 11 (2019), pp. 888-893

Usage

ssc(mat1, mat2, tcc = FALSE)

Value

table containing pairwise SCC of matrices columns

Arguments

mat1

matrix

mat2

matrix

tcc

if set TRUE, TCC is returned instead

Examples

Run this code
pf_models <- pf3
mat1 <- pf_models[[1]][[2]]
mat2 <- pf_models[[2]][[2]]

## calculate SSC
ssc(mat1,mat2)

## calculate TCC
ssc(mat1,mat2, tcc = TRUE)

Run the code above in your browser using DataLab