[R] Error in mkRespMod(fr, family = family) : response must be numeric

John Kane jrkrideau at inbox.com
Tue Nov 17 00:12:13 CET 2015

Welcome to R-help.

We probably need some more code and sample data.  Please have a look at
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html for some suggestions.

John Kane
Kingston ON Canada

> -----Original Message-----
> From: pollaktn at gmail.com
> Sent: Sun, 15 Nov 2015 13:58:24 -0800
> To: r-help at r-project.org
> Subject: [R] Error in mkRespMod(fr, family = family) : response must be
> numeric
> Hi --
> I am new to R, and not much more advanced in stats, but am trying to
> learn
> my way through the program to finish my master's thesis.  I am trying to
> run tests using glmer, and am getting the above error message.
> My code is:
>> test1=glmer(V12~V10+(1|V4),family=poisson)
> Error in mkRespMod(fr, family = family) : response must be numeric
> (The V's are the column numbers for the variable names -- the program
> doesn't seem to recognize the actual variable names, although they are in
> the table, but does recognize the column numbers.)
> Any help is much appreciated.  I tried searching online for some
> guidance,
> but came up empty.
> Thank you --
> Tania
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

Send any screenshot to your friends in seconds...
Works in all emails, instant messengers, blogs, forums and social networks.
TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if2 for FREE

More information about the R-help mailing list