Dear authors
Thanks for the excellent package. I have encounter an "violates the assumptions of the model" issue that cannot be solved.
I have a several continuous variable and a mort_flg factor variable; and I create a whitelist:
wl <- expand.grid(
from = c("SOFA_day_1","SOFA_day_3","lac_day_1","lac_day_3","lac_day_5"),
to = "mort_flg",
stringsAsFactors = FALSE)
dyn.dag = iamb(
+ phenoData_wide, whitelist = wl)
Error in check.arcs.against.assumptions(whitelist, data, criterion) :
arc SOFA_day_1 -> mort_flg violates the assumptions of the model.
when I remove SOFA_day_1, it still report errors:
> wl <- expand.grid(
+ from = c("SOFA_day_3","lac_day_1","lac_day_3","lac_day_5"),
+ to = "mort_flg",
+ stringsAsFactors = FALSE)
> dyn.dag = iamb(
+ phenoData_wide, whitelist = wl)
Error in check.arcs.against.assumptions(whitelist, data, criterion) :
arc SOFA_day_3 -> mort_flg violates the assumptions of the model.
It appears continuous variable cannot have causal link to binary variable?
Dear authors Thanks for the excellent package. I have encounter an "violates the assumptions of the model" issue that cannot be solved. I have a several continuous variable and a
mort_flg
factor variable; and I create a whitelist:when I remove
SOFA_day_1
, it still report errors:It appears continuous variable cannot have causal link to binary variable?