Summary(data.model) error message

I'm doing some data modelling and code that worked fine yesterday is not working today: I'm inputting exactly the same thing, including calling lme4.

library(lme4)
library(lmerTest)
data.model<- glmer(DV_you~Class+(1|Speaker),data=my.dfyou.2,family='binomial')
Summary(data.model)

Getting the error message

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘Summary’ for signature ‘"glmerMod"’

I've tried the good old 'turn it off and turn it back on again' trick, but the same thing's happened. Any ideas why it worked yesterday and it's not working today? Thanks.

R is case sensitive. I wonder if you meant to use summary()

Oh my god, is it that simple? That'll teach me not to work long past when my concentration has gone! I'll try that - thank you. I swear I looked at it a dozen times and couldn't see any difference between what I'd written before and what I tried today.

That's so embarrassing. Sorted. I'm a total idiot. Thank you for taking the trouble to reply to a moron.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.