plot.OpenStatsComplementarySplit: plot for an 'OpenStatsComplementarySplit' object

View source: R/OpenStatsComplementarySplit.R

plot.OpenStatsComplementarySplitR Documentation

plot for an 'OpenStatsComplementarySplit' object

Description

This function visualises an 'OpenStatsComplementarySplit' object

Usage

 ## S3 method for class 'OpenStatsComplementarySplit'
plot(x, main = "Final Model", ask = FALSE, mfrow = c(2, 2), ...)

Arguments

x

an instance of 'OpenStatsComplementarySplit' result

main

a string to be pasted to the title of the plots

ask

see 'ask' in 'par()' function. Default FALSE

mfrow

the screen partition. see 'mfrow' argument in the 'par' function. Default c(2,2) then all plots display in one screen.

...

other parameters that can be passed to the 'plot' function

Details

The plot function creates some visualisations for the split results from the linear mixed model framework. Each level of partitioning variables (see 'variables' in the 'OpenStatsComplementarySplit' function manual) produces a set of plots listed below:

- Residual versus fitted values
- Residual density plot and the normality test p-value
- Residual Q-Q plot
- The density plot of the response variable and the normality test p-value

Value

Not applicable

Author(s)

Hamed Haseli Mashhadi <hamedhm@ebi.ac.uk>

See Also

OpenStatsComplementarySplit, print.OpenStatsComplementarySplit, summary.OpenStatsComplementarySplit

Examples

example(OpenStatsComplementarySplit)

mpi2/OpenStats documentation built on Sept. 17, 2022, 3:58 p.m.