[Mediation-information] (no subject)

L.R.A. Schouten l.r.schouten at amc.uva.nl
Mon Feb 8 12:25:31 CET 2016


Dear Angel,

I read your question on http://lists.r-forge.r-project.org/ about the error: Error in if (xhat == 0) out <- 1 else { :   missing value where TRUE/FALSE needed I get the same error when using

I got the same error using the code:
med.fit<-glm(formula = cluster_two~Tertile_age, data=cluster, family=binomial)
out.fit<-glm(formula = death ~cluster_two+Tertile_age, data=cluster, family=binomial)

Did you figure out what causes the error.
Thank you in advance!

Laura

Laura Schouten MD | Phd candidate Pediatric Intensive Care | Department of intensive care & Laboratory of Experimental Intensive Care and Anesthesiology (LEICA) | Room G3-227 Emma Children's Hospital | Academic Medical Center | Meibergdreef 9, 1105 AZ Amsterdam | E: l.r.schouten at amc.nl<mailto:l.r.schouten at amc.nl> | T: 020 5666342 | m:+31641149755


________________________________

AMC Disclaimer : https://www.amc.nl/disclaimer

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/mediation-information/attachments/20160208/e15d7448/attachment.html>


More information about the Mediation-information mailing list