You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit an error ("unique() applies only to vectors") when trying to run cv.biglasso on a numeric response.
if (fit$family == "binomial" & (min(table(y)) > nfolds)) is not short circuiting when fit$family is gaussian and thus table(y) is being called regardless of family.
Changing & to && should take care of the error.
The text was updated successfully, but these errors were encountered:
I hit an error ("unique() applies only to vectors") when trying to run cv.biglasso on a numeric response.
if (fit$family == "binomial" & (min(table(y)) > nfolds))
is not short circuiting whenfit$family
isgaussian
and thustable(y)
is being called regardless of family.Changing
&
to&&
should take care of the error.The text was updated successfully, but these errors were encountered: