plot.bc2: plot.bc2

Description Usage Arguments Value Author(s) See Also

View source: R/plot.bc2.R

Description

plot method for bc2 fits.

Usage

1
2
## S3 method for class '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.

Author(s)

Shahin Roshani

See Also

https://shahin-roshani.github.io/BC2/


Shahin-Roshani/BC2 documentation built on Dec. 18, 2021, 1:05 p.m.