anova1 | R Documentation |
One-way analysis of variance
anova1(y, f, xl = "Factor", yl = "Response Variable", step = 0:7, alp = 0.05, dig = 4)
y |
Response variable data |
f |
Factors (same length as y) |
xl |
Label of x-axis, Default: 'Factor' |
yl |
Label of y-axis, Default: 'Response Variable' |
step |
Steps of the analysis of variance, Default: 0:7 |
alp |
Level of significance, Default: 0.05 |
dig |
Number of digits below the decimal point, Default: 4 |
None.
y = c(79,83,88,78,75, 81,89,91,84,86,82, 86,91,93,90,89, 76,81,82,79) f = c(rep(150,5), rep(200,6), rep(250,5), rep(300,4)) anova1(y, f, xl="Temp", yl="Yield")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.