# NOT RUN {
gm_result <- use_generalised_linear_model(
param_to_be_estimated = "Direction",
dataset = ISLR::Smarket, indep_var = "Lag1", family = "binomial",
covariates = c("Lag2", "Lag3"),
interaction = FALSE, naaction = "na.omit", link = NA)
# }
Run the code above in your browser using DataLab