forward_step: Internal function that does the forward step for the stepwise...

Description Usage Arguments Value

View source: R/LEGIT.R

Description

Internal function that does the forward step for the stepwise function.

Usage

1
2
3
4
5
6
7
8
9
forward_step(empty_start_dataset, fit, data, formula,
  interactive_mode = FALSE, genes_current = NULL, env_current = NULL,
  genes_toadd = NULL, env_toadd = NULL, search = "genes",
  search_criterion = "AIC", p_threshold = 0.2,
  exclude_worse_AIC = TRUE, max_steps = 100, cv_iter = 5,
  cv_folds = 10, folds = NULL, Huber_p = 1.345,
  classification = FALSE, start_genes = NULL, start_env = NULL,
  eps = 0.01, maxiter = 100, family = gaussian, ylim = NULL,
  seed = NULL, print = TRUE)

Arguments

empty_start_dataset

If TRUE, the initial dataset is empty.

fit

Current best fit.

...

Same parameters as in the stepwise function.

Value

Returns fit, start_genes, start_env and genes_current, genes_toadd if search="genes" or env_current and env_toadd if search="env".


LEGIT documentation built on Aug. 30, 2019, 1:05 a.m.