View source: R/structurednessindices.R
c_linearity | R Documentation |
c-linearity calculates c-linearity as the aggregated multiple correlation of all columns of the configuration.
c_linearity(confs, aggr = NULL)
confs |
a numeric matrix or data frame |
aggr |
the aggregation function for configurations of more than two dimensions. Defaults to max. |
a numeric value; linearity (aggregated multiple correlation of all columns of the configuration)
x<-1:10
y<-2+3*x+rnorm(10)
z<- sin(y-x)
confs<-cbind(z,y,x)
c_linearity(confs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.