fit_logistic_regression | R Documentation |
klassets_response_xy
objectFit Logistic regression to klassets_response_xy
object
fit_logistic_regression(df, order = 1, stepwise = FALSE, verbose = FALSE)
df |
A object from |
order |
Order of values of x and y. |
stepwise |
A logical value to indicate to perform stepwise. |
verbose |
A logical value to indicate to show the trace of the stepwise procedure. |
set.seed(123) df <- sim_response_xy(n = 500, relationship = function(x, y) x**2 > y) plot(df) df_reg_log <- fit_logistic_regression(df) plot(df_reg_log) df_reg_log_3 <- fit_logistic_regression(df, order = 3, stepwise = TRUE) plot(df_reg_log_3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.