View source: R/print.LinearModel.R
print.LinearModel | R Documentation |
Print the results of the ANOVA obtained by the function LinearModel.
## S3 method for class 'LinearModel'
print(x, ...)
x |
an object of class LinearModel |
... |
further arguments passed to or from other methods |
Gives the results of the LinearModel function. If a model selection is performed, the global F-test for the complete model is first given, then all the results are given for the selected model (global F-test, the F-tests for main effects and interaction, the t-tests)
Francois Husson francois.husson@institut-agro.fr
LinearModel
## Not run:
data(senso)
res <- LinearModel(Score~ Product + Day , data=senso)
res
res2 <- LinearModel(Score~ Product + Day , data=senso, selection="BIC")
res2
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.