Description Usage Arguments Value Author(s) See Also
Given two model fits (created with limma's lmFit), with model A nested in model B, calculate an F statistic for the test for whether model B is significantly better than model A.
1 | getF(fit, fit0, theData)
|
fit |
MArrayLM object from fitting model B |
fit0 |
MArrayLM object from fitting model A |
theData |
data matrix used to fit both models. (matrix of outcome values) |
data frame with elements
fstat |
the F statistic from the test |
df1 |
first df for F distribution used in testing |
df2 |
second df for F distribution used in testing |
f_pval |
p-value resulting from said test. |
Andrew Jaffe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.