Error in environment(formula) : argument "formula" is missing with no default

713 views Asked by At

I'm using the vglm function of the VGAM package.

m <- vglm(log(variable+1) ~ ., tobit(Lower=0), data = dat)

I was able to run the code above without any issues previously, but I'm getting this error message.

Error in environment(formula) : argument "formula" is missing, with no default

EDIT:

Also tried running this vglm(log(demand+1) ~ ., tobit(Lower=0), data = BOD)

but I'm also getting the same error message

0

There are 0 answers