statsECMf: statsECMf Computes a lambdaECM statistics and p-values

Description Usage Arguments Value Examples

View source: R/ECM_functions.r

Description

statsECMf takes two matricies of numeric data, the LR statistic lambdaECM, computed p values

Usage

1
statsECMf(data_matrix1, data_matrix2)

Arguments

data_matrix1

Is a numeric matrix,

data_matrix2

Is a numeric matrix,

Value

One matrix with two elements

Examples

1
2
3
4
5
6
7
8
    suppressPackageStartupMessages(library(Rmpfr)); 
    library(wmpvaer);
    data(plastic)
    a1<-plastic[plastic$additive=="Low",];
    low_additive<-as.matrix(a1[,1:3]);
    a2<-plastic[!(plastic$additive=="Low"),];
    high_additive<-as.matrix(a2[,1:3]);
    statsECMf(low_additive,high_additive);

chvrngit/wmpvaer documentation built on Dec. 3, 2019, 12:14 p.m.