Description Usage Arguments Value Examples
When using groupfs
with factor variables call this function first to create a design matrix.
1 |
df |
Data frame containing some columns which are |
List containing
Design matrix, the first columns contain any numeric variables from the original date frame.
Group membership indicator for expanded matrix.
1 2 3 4 5 6 7 | ## Not run:
fd = factorDesign(warpbreaks)
y = rnorm(nrow(fd$x))
fit = groupfs(fd$x, y, fd$index, maxsteps=2, intercept=F)
pvals = groupfsInf(fit)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.