Learn R Programming

GGally (version 1.3.2)

model_response_variables: Model term names

Description

Retrieve either the response variable names, the beta variable names, or beta variable names. If the model is an object of class 'lm', by default, the beta variable names will include anova significance stars.

Usage

model_response_variables(model, data = broom::augment(model))

model_beta_variables(model, data = broom::augment(model))

model_beta_label(model, data = broom::augment(model), lmStars = TRUE)

Arguments

model

model in question

data

equivalent to broom::augment(model)

lmStars

boolean that determines if stars are added to labels

Value

character vector of names