Usage
## S3 method for class 'mnlm':
plot(x, type=c("response","reduction","roc"), covar=NULL, v=NULL, xlab=NULL, ylab=NULL, col=NULL, ...)
Arguments
x
An output object from the mnlm
function.
type
Under "response"
, plot the fitted count expectations
against observed non-zero counts.
Under "reduction"
, plot the sufficient reduction scores
freq(counts)%*%loadings
from
inverse
covar
For type="reduction"
. The covariate direction to plot. Defaults to 1.
v
For type="reduction"
. Optional argument for the fitted reduction to be plotted against (if, e.g., you
wish to plot against unnormalized response).
xlab
The x-axis label; will be automatically set if NULL.
ylab
The y-axis label; will be automatically set if NULL. For binary data, this becomes the legend title.
col
The color(s). Usage changes depending on plot type (for roc, it must be a ncol(predict(x,x$covars))
length vector).
...
Additional plot
arguments