plotfitt | R Documentation |
Visualize fit output against observed values
plotfitt(
o,
sfitt,
asp = 1,
xlab = "Fitted",
ylab = "Observed",
xlim,
ylim,
...
)
o |
vector of observed values |
sfitt |
an output of |
asp |
the aspect ratio |
xlab |
the x axis title |
ylab |
the y axis title |
xlim |
the limits for the x axis scale |
ylim |
the limits for the y axis scale |
... |
additional arguments passed to
|
d <- list(x=seq(pi, 3*pi, 0.1))
d$y <- rpois(length(d$x), exp(1 + d$x))
r <- glm(y~x, poisson, d)
plotfitt(d$y, r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.