search for: l576

Displaying 1 result from an estimated 1 matches for "l576".

Did you mean: 576
2019 Apr 26
1
Error in glm(..., family=quasi(..., variance=list(...)))
...alidmu=vm, dev.resids=dr, initialize=it, name="custom"))) This gives "Error in switch(vtemp, constant = { : EXPR must be a length 1 vector" from line 576 in file family.R (https://github.com/wch/r-source/blob/5a156a0865362bb8381dcd69ac335f5174a4f60c/src/library/stats/R/family.R#L576). I believe this is due to line 573 "vtemp <- substitute(variance)" and 574 "if (!is.character(vtemp)) vtemp <- deparse(vtemp)" where vtemp becomes a length 2 character vector because, by default, deparse() breaks lines at width.cutoff = 60L characters. In stepping through...