model2df {ggiraphExtra}R Documentation

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.


[Package ggiraphExtra version 0.3.0 Index]