Description Usage Arguments Value See Also Examples
Given a dataset xd
, calculates F1, F2, F'min, and F1+F2, and
associated p-values (one-factor design only).
1 | fitanova(mcr.data, wsbi)
|
mcr.data |
A dataframe formatted as described in |
wsbi |
Whether the design is between-items (TRUE) or within-items (FALSE). |
A vector, with:
F1 |
the by-subjects F value |
F2 |
the by-items F value |
minF |
the min F' value |
p1 |
the p-value associated with F1 |
p2 |
the p-value associated with F2 |
pmf |
the p-value associated with min F' |
pmax |
the p-value associated with F1+F2 ( =max(c(p1,p2)) ) |
1 2 3 4 5 6 7 8 9 10 11 | nmc <- 10
pmx <- cbind(randParams(genParamRanges(), nmc, 1001), seed=mkSeeds(nmc, 1001))
# between-items dataset
x.bi <- mkDf(nsubj=24, nitem=24, mcr.params=pmx[1,], wsbi=TRUE)
# within-items dataset
x.wi <- mkDf(nsubj=24, nitem=24, mcr.params=pmx[1,], wsbi=FALSE)
fitanova(x.bi, wsbi=TRUE)
fitanova(x.wi, wsbi=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.