R/demo.dag5.R

Defines functions demo.dag5

Documented in demo.dag5

demo.dag5 <-
function()
{ # creates a miscellaneous DAG;
  # check out adjustment for the outcome's child!
  dag<-dag.init(covs=c(2,1), arcs=c(1,-1, -1,2));
  return(dag);
}

Try the dagR package in your browser

Any scripts or data that you put into this service are public.

dagR documentation built on Oct. 9, 2022, 5:06 p.m.