powered by
This function reveals whether the risk factors X1 and X2 (and more X) have an interactive influence on a disease Y.
interaction_detector(y_column, x_column_nn, tabledata)
The index or field name of explained variable in input dataset.
The index or field name of explanatory variable(s) in input dataset.
The dataset (dataframe) contains fields of explained variable and explanatory variables.
Results of interaction detector include the interactive q satistic.
# NOT RUN { data(CollectData) interaction_detector("incidence",c("soiltype","watershed"),CollectData) interaction_detector("incidence",c("soiltype","watershed","elevation"),CollectData) # }
Run the code above in your browser using DataLab