mlandrf: mlandrf mlandr S4 object R function wrapper

Description Usage Arguments Value Examples

View source: R/objects_and_functions.r

Description

mlandrf takes a matrix of eignvalues, a vector of model DF values and a numeric value of error DF and returns Wilks statistics & BW power and p values by wrapping the S4 object wmpvaer::mlandr in an R function.

Usage

1
mlandrf(e_dfm, m_dfm, eigsm)

Arguments

e_df

error DF for a MANOVA model, numeric vector , or 1x1 numeric matrix

m_df

model DFs for a MANOVA model, a numeric vector,length >=1, or a matrix ncol=1 & nrow>=1,

eigs

Eigenvalues of an (E-inv)*H matrix,MANOVA analysis, Wilks non-centrality parameter, matrix w. ncol>=2

Value

list with two elements (matricies)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
    suppressPackageStartupMessages(library(Rmpfr)); 
    library(doParallel);
    library(wmpvaer);
    library(methods);
    data(eigs_plastic);
    eigsm<-as.matrix(eigs_plastic)
    colnames(eigsm)<-c(" "," "," ");
    rownames(eigsm)<-c("rate","additive","rate:additive");
    e_dfm<-16;
    m_dfm<-c(1,1,1);
    mlandrf(e_dfm,m_dfm,eigsm);

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