Is there an R package that plots the path diagram (in similar fashion to the figures here) of models fitted with the mediation package in R automatically?
Is there an R package that plots the path diagram (in similar fashion to the figures here) of models fitted with the mediation package in R automatically?
The use of psych package could help!
mediate(Output ~ Independent1 + (Mediator), data =mydata)