plot method for bc2 fits.

# S3 method for bc2
plot(x, type = "residuals", ...)

Arguments

x

a fitted object of class inheriting from "bc2".

type

Type of plot to be drawn. Valid inputs are 'responses', 'residuals' or 'fit'. Default is 'residuals'.

...

Other plot arguments (Not being used by objects of class bc2).

Value

When type='responses', density plots of original and un-transformed responses (non-zero) will be returned (unless transformation was done directly on non-zero responses and not through the g.funs argument).

When type='residuals', density plot of residuals plus residuals vs fitted values plot for each response will be returned.

For type='fit', actual vs fitted values of each response will be returned.

See also

Author

Shahin Roshani