| apc.plot.fit.all {apc} | R Documentation |
Make all fit plots.
Description
Plots estimates using apc.plot.fit.
Probability transform plot of residuals using apc.plot.fit.pt.
Level plot of residuals using apc.plot.fit.residuals.
Level plot of fitted values using apc.plot.fit.fitted.values.
Level plot of linear predictors using apc.plot.fit.linear.predictors.
Level plots of responses and rates (if dose is availble) using apc.plot.data.level.
Usage
apc.plot.fit.all(apc.fit.model,log ="",rotate=FALSE)
Arguments
apc.fit.model |
List. Output from |
log |
Optional |
rotate |
Optional. Logical. If TRUE rotates level plots 90 degrees clockwise (or anti-clockwise if data.format is "CL"). Default is FALSE. |
Author(s)
Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk> 2t Apr 2015
See Also
The example below uses Italian bladder cancer data, see data.Italian.bladder.cancer
Examples
#####################
# EXAMPLE with Italian bladder cancer data
# get data list, then make all descriptive plots.
# Note that warnings are given in relation to the data chosen thinning
# This can be avoided by working with the individual plots, and in particular
# with apc.plot.data.within where the thinning happens.
data.list <- data.Italian.bladder.cancer()
fit <- apc.fit.model(data.list,"poisson.dose.response","APC")
apc.plot.fit.all(fit)