powered by
Write coefficient table for linear and logistic regression
write.coeff(object, file = "", sort = FALSE)
A fitted model object of class regress or logistic
A character string naming a file. "" indicates output to the console
Sort table by variable importance
Write coefficients and importance scores to csv
# NOT RUN { regress(diamonds, rvar = "price", evar = "carat:x", check = "standardize") %>% write.coeff(sort = TRUE) %>% formatdf(dec = 3) # }
Run the code above in your browser using DataLab