statsBIf: statsBIf Computes lambdaBI statistics,p-values, and shows the...

Description Usage Arguments Value Examples

View source: R/BI_functions.r

Description

statsBIf takes a matrix of numeric data, and a vector or scalar indicating columns numbers for a block and returns the LR statistic lambdaBI, computed p values and a matrix w. column names and numbers

Usage

1
statsBIf(data_matrix, block)

Arguments

data_matrix

Is a numeric matrix

block

Is a scalar or vector of column numbers corresponding to block 1

Value

list with one matrix as element

Examples

1
2
3
4
5
6
    suppressPackageStartupMessages(library(Rmpfr)); 
    library(wmpvaer);
    data(plastic);
    plasticm<-as.matrix(plastic[,1:3]);
    block_v<-c(2)  
    statsBIf(plasticm,block_v);

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