Description Usage Arguments Value Author(s) Examples
Function performs analysis of variance using sequential sums of squares for a linear model formula, as provided.
1 |
f |
A formula in the form y ~ x. The left-hand side of the formula, y, is the variable one wishes to analyze. The right-hand side, x, is a variable to describe the different samples (a factor). It is important that the formula is set up this way. Do not provide two different vectors! |
data |
The data frame from which the variables can be found. |
iter |
Number of resampling iterations. The oberved value counts as one iteration, so this number should be the desired number of permutations - 1. For example, if 1,000 permutations are desired, this value should be 999. |
seed |
If one should wish to define the random seed for the random permutations (for advanced users). |
The function returns a list containg an ANOVA table, SS, df, coefficients of determination, F values, and other goodies for advanced users.
Michael Collyer
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.