Learn R Programming

manymodelr (version 0.3.9)

report_model: Create a simplified report of a model's summary

Description

Create a simplified report of a model's summary

Usage

report_model(model_object = NULL, response_name = "Score")

Value

A data.frame object showing a simple model report that includes the effect of each predictor variable on the response.

Arguments

model_object

A model object

response_name

Name of the response variable. Defaults to "Score".

Examples

Run this code
models<-fit_models(df=yields,yname=c("height","yield"),xname="weight",
modeltype=c("lm", "glm"))
report_model(models[[2]][[1]])

Run the code above in your browser using DataLab