"Error in model.frame.default(terms(formula, lhs = lhs, rhs = rhs, data = data, : variable lengths differ (found for '(cluster)')"

I’m wondering how to fix the following error:

  variable lengths differ (found for '(cluster)')

I am running what I thought was a standard specification like so:

  log(meetings) ~ log(users), 
      data = data,
      fixed_effects = ~ company_id,
      cluster = "company_id",
      se = "stata")

Any thoughts?

hm… is there any missingness in meetings, users, or company_id?

Never mind, I’m dumb. There shouldn’t be quotes around the cluster. It works now.