Learn R Programming

linear.tools (version 1.3.0)

get_model_with_coeff: get a list of model variables with their corresponding coeff vars.

Description

a wrap up function of get_model_pair

Usage

get_model_with_coeff(model, data = NULL)

Arguments

Value

a list with names as model vars and elements as their corresponding coeff

Details

See get_model_pair

Examples

Run this code

get_model_with_coeff(price~  I(carat^   2) + cut  + carat*table, data= ggplot2::diamonds)

Run the code above in your browser using DataLab