evaluate_range: evaluate regression ranges

Description Usage Arguments

Description

evaluate regression ranges

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
evaluate_range(
  dt,
  ...,
  nested_model = FALSE,
  model_data = model_data,
  model_params = model_params,
  in_reg = in_reg,
  model_range = model_range,
  in_range = in_range
)

Arguments

dt

data table

...

which terms to evaluate the range for. Can be individual columns or more complex numeric expressions. All must be valid within the scope of the model_data and only numeric values are currently evaluated.

nested_model

whether the model is nested, if TRUE, must also provide model_params

model_data

the nested model data column

model_params

the nested model information (only relevant if nest_model = TRUE)

in_reg

name of the new logical column in the nested model_data that flags the data included in the regression (i.e. the data that fullfills the model_filter_condition if provided)

model_range

new column recording the range of all terms for each model and model_data combination.

in_range

new column in the model_data that holds whether a data entry is within the model_range. Checks whether all terms are within the model_range and records a textual summary of the result in this new column.


KopfLab/isoprocessorCUB documentation built on Nov. 8, 2021, 9:54 a.m.