Description Usage Arguments Details See Also Examples
Plot the residuals on scatter or quantile-quantile plots.
1 2 3 4 |
x |
An object of class |
labels |
A logical value for |
text.size |
An integer, the text size of labels. |
... |
additional arguments. |
distribution |
A character, name of distribution of the residuals.
The default value is |
line.estimate |
Function for estimation of QQ-line. |
conf |
A numeric value between 0 and 1, that represents the confidence boundary. |
plotRes
function makes a scatter plot of fitted values vs. residuals.
Note that the residuals returned by SOLAR include both random effects,
i.e. house-hold, genetic and residuals itself.
plotResQQ
function plots quantile-quantile (QQ) plot of the residuals.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
### basic (univariate) polygenic model
mod <- solarPolygenic(trait1 ~ age + sex, dat30)
plotRes(mod)
plotResQQ(mod)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.