R/indirect_effect_or.R

Defines functions indirect_effect_or

Documented in indirect_effect_or

indirect_effect_or <-
function(x,y,z,w,t)
{ ((1+x)^(-1)*(1+w)^(-1)+(1+x*z)^(-1)*(1+w)^(-1)*w)*
(1-(1+x)^(-1)*(1+w)^(-1)-(1+x*z)^(-1)*(1+w)^(-1)*w)^(-1)*
((1+x)^(-1)*x*(1+w*t)^(-1)+ (1+x*z)^(-1)*x*z*(1+w*t)^(-1)*w*t)*
(1-(1+x)^(-1)*x*(1+w*t)^(-1)- (1+x*z)^(-1)*x*z*(1+w*t)^(-1)*w*t)^(-1)}

Try the efflog package in your browser

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

efflog documentation built on May 31, 2017, 3:51 a.m.