wmpvaerf: Wilks MANOVA p-Value Alternative Estimation

Description Usage Arguments Value Warning Examples

View source: R/objects_and_functions.r

Description

wmpvaerf takes Wilks values from R's MANOVA function, adds power estimates and alternative p-values

The wmpvaer package provides four exported functions: wmpvaerf, mlandrf,statsBIf,statBIncatf,statsECMf

Usage

1

Arguments

formula

Same formula as used with the R MANOVA function

Value

list with three elements (matricies)

Warning

This code example,on a single core, can take 30 seconds or more to complete. The program exploits two or more cores if available,however.On a three core Intel system the code example takes about 11 seconds.

Examples

1
2
3
4
5
6
7
8
    suppressPackageStartupMessages(library(Rmpfr)); 
    library(doParallel);
    library(wmpvaer);
    data(plastic);
    Y<-as.matrix(plastic[,1:3]);
    rate<-matrix(data=(plastic$rate),nrow(plastic),1);
    additive<-matrix(data=(plastic$additive),nrow(plastic),1); 
    wmpvaerf(Y~ rate*additive);

chvrngit/wmpvaer documentation built on July 30, 2018, 11:15 p.m.