Nothing
#' @export
panel.lm <-
function (x, y, model, fits, ...)
{
if (missing(fits)) {
if (missing(model)) {
model <- lm(y ~ x, ...)
}
fits <- fitted(model)
}
panel.xyplot(x[order(x)], fits[order(x)], type = "l", lwd = 2,
...)
panel.xyplot(x, y, ...)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.