write.coeff: Write coefficient table for linear and logistic regression

Description Usage Arguments Details Examples

View source: R/logistic.R

Description

Write coefficient table for linear and logistic regression

Usage

1
write.coeff(object, file = "", sort = FALSE, intercept = TRUE)

Arguments

object

A fitted model object of class regress or logistic

file

A character string naming a file. "" indicates output to the console

sort

Sort table by variable importance

intercept

Include the intercept in the output (TRUE or FALSE). TRUE is the default

Details

Write coefficients and importance scores to csv or or return as a data.frame

Examples

1
2
3
regress(diamonds, rvar = "price", evar = c("carat", "clarity", "x"), check = "standardize") %>%
  write.coeff(sort = TRUE) %>%
  format_df(dec = 3)

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.