Learn R Programming

ggiraphExtra (version 0.3.0)

model2df: Make a data.frame of yhat with a model

Description

Make a data.frame of yhat with a model

Usage

model2df(model, x = NULL, n = 100)

Arguments

model

A model of class "lm" or"glm" or"loess"

x

A optional vector of explanatory variable

n

number of observations.