Description Usage Arguments Value References See Also

Generic function to dectect potential confounders for one predictor of interest no matter the outcome varible and predictor of interest are continuous or categorical.

1 | ```
confounding(x, y, dat)
``` |

`x` |
a vector of data values that contains the predictor of interest |

`y` |
a vector of data values that contains outcome varible |

`dat` |
a data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the predictor of interest, outcome varible and all the covariates |

It returns a list that contains the suggested potential confounders.

Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.