Bug in R code, variable used before being defined
datduong opened this issue · comments
In step 3, in using the R code, the variable "M" is not defined (line 42). Is this "M" supposed to be "SOC" ?
######################################
Here we start to build SOC matrix for BP
SOC <- BP_DEF%*%FOC;
a <- rowSums(M)
a <- 1/a