- changed status to resolved
one 'if condition' in the spls function is hanging
Issue #6
resolved
line 324 in the regression mode:
if (TRUE) #!?!?
{#na.Y
Y.aux = Y.temp
Y.aux[is.na.Y] = 0
d = crossprod(Y.aux, t)
T = drop(t) %o% q.ones
T[is.na.Y] = 0
t.norm = crossprod(T)
d = d / diag(t.norm)
}else{
d = crossprod(Y.temp, t) / drop(crossprod(t))
}
Comments (3)
-
reporter -
repo owner - changed title to one 'if condition' in the spls function is hanging
-
repo owner - edited description
- Log in to comment
replaced if(TRUE) by if(na.Y)