# plot: Plot diagnostics for boxcoxmix functions In boxcoxmix: Box-Cox-Type Transformations for Linear and Logistic Models with Random Effects

## Description

`plot()` is a generic function used to produce some useful diagnostic plotting of the functions: `np.boxcoxmix()`, `optim.boxcox()` and `tolfind.boxcox()`.

## Usage

 ```1 2``` ```## S3 method for class 'boxcoxmix' plot(x, plot.opt = 1, ...) ```

## Arguments

 `x` an object for which a plot is desired. `plot.opt` an integer value between 1 and 8. `...` additional arguments.

## Details

Plot diagnostics for boxcoxmix functions

## Value

The plots to be printed depend on the number given in `plot.opt`, for the `np.boxcoxmix()`, `optim.boxcox()` and `tolfind.boxcox()` functions:

 `1` the disparities with the iteration number against the mass points `2` the fitted value against the response of the original and the transformed Data. `3` probability plot of residuals of the original against the transformed data. `4` individual posterior probabilities. `5` control charts of residuals of the original against the transformed data. `6` The histograms of residuals of the original against the transformed data. `7` works only for the `tolfind.boxcox()` function and plots the specified range of `tol` against the disparities `8` works only for the `optim.boxcox()` function and gives the profile likelihood function that summarises information concerning `lambda`. `9` works only for the `Kfind.boxcox()` function and plots the specified range of `K` against the AIC or BIC information criteria `10` works only for the `boxcoxtype()` function and gives the profile likelihood function that summarises information concerning `lambda` for generalized linear Mixed-effects Models.

boxcoxmix documentation built on May 2, 2019, 5:42 a.m.