Hi, I'm a beginner in both statistics and the usage of R. I have been stuck for days with a problem I hope somebody is willing to help me solving. I'm trying to create some kind of graphical plot etc. of my results of the following glm of interactions. I17<-glm(formula = response ~ var1+ var2 + var3 + var4 + var1:var3 + var1:var4, data = data) Is there any possibility to solve this?? Thanks in advance!! -- View this message in context: http://r.789695.n4.nabble.com/Interaction-plot-glm-tp4642354.html Sent from the R help mailing list archive at Nabble.com.
Interaction plot glm?
2 messages · salind, PIKAL Petr
Hi
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- project.org] On Behalf Of salind Sent: Thursday, September 06, 2012 8:56 AM To: r-help at r-project.org Subject: [R] Interaction plot glm? Hi, I'm a beginner in both statistics and the usage of R. I have been stuck for days with a problem I hope somebody is willing to help me solving.
Maybe i tis time to RTFM.
I'm trying to create some kind of graphical plot etc. of my results of the following glm of interactions. I17<-glm(formula = response ~ var1+ var2 + var3 + var4 + var1:var3 + var1:var4, data = data)
I get I17<-glm(formula = response ~ var1+ var2 + var3 + var4 + var1:var3 + var1:var4, data = data) Error in terms.formula(formula, data = data) : 'data' argument is of the wrong type
Is there any possibility to solve this??
To solve what? At predict.glm help page is a nice illustrating plot. If you want some more help you probably shall be more specific and provide data, some code and what went wrong. Regards Petr
Thanks in advance!! -- View this message in context: http://r.789695.n4.nabble.com/Interaction-plot-glm-tp4642354.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code.