R: Error in eval(predvars, data, env) : numeric ‘envir’ arg not of length one in intrinsic.pars() in multgee package

I have a data frame dfwith the following data:

family_id_cass   twin_order  ls75cat
  10026          1           2
  10026          2           2
  10071          1           3
  10071          2           3
  10132          1           1
  10132          2           2

I would like to run intrinsic.pars(), so what I am doing is the following:

intrinsic.pars(df$ls75cat, df$family_id_cass, df$twin_order, rscale="ordinal") but i get the following error:

Error in eval(predvars, data, env) : numeric 'envir' arg not of length one

What am I doing wrong?

Leave a Comment

tech