unitests  R Documentation 
The functions perform F or t testing for several responses based on a matrix of hypothesis observations and a matrix of error observations.
unitests(xyObj) unitest(modelData, errorData, dfError = dim(errorData)[1])
xyObj 
a designwithresponses object created by 
modelData 
matrix of hypothesis observations 
errorData 
matrix of error observations 
dfError 
Degrees of freedom for error needs to be specified if

modelData
and errorObs
correspond to hypObs
and
errorObs
calculated by xy_Obj
. These matrices are efficient
representations of sums of squares and crossproducts (see
xy_Obj
for details). This means the univariate
Fstatistics can be calculated straightforwardly from these input
matrices. Furthermore, in the singledegreeoffreedom case,
tstatistics with correct sign can be obtained.
unitests
is a wrapper function that calls unitest
for each
term in the xyObj
(see xy_Obj
for details) and collects
the results.
unitest
returns a list with components
pValues 
pvalues 
stat 
The test statistics as tstatistics (when single degree of freedom) or Fstatistics 
unitests
returns a list with components
pRaw 
Matrix of
pvalues from 
stat 
Matrix of test statistics from 
The function calculates the pvalues by making a call to
pf
.
Øyvind Langsrud and BjørnHelge Mevik
rotationtest
, rotationtests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.