An R package for generating confounding models in path analysis