The function generates a data frame with a sequence for independent variable
(including minimum and maximum values) and selects it according to the model.
Usage
fn_xseq(modelos, List_x_seq, i)
Arguments
- modelos
A list that defines the variables that will be taken into account for the model.
- List_x_seq
A list to store the sequence of the independent variable considered for the ith fitted model.
- i
An integer value indicating the regression to be analyzed.
Value
xseq A one-column data frame with the sequence selected.
Details
The data frame should have the same column name as the dependent variable
used in the fitted model.
Inside the function, the appropriate sequence is selected in function of model
the mean (Ymean), lower (Ymin), and upper (Ymax) CI95
Examples
if (FALSE) { # \dontrun{
xseq <- fn_xseq(modelos,List_x_seq, i)
} # }