[Solved] Could you please help me to understand an R code?
First of all, in general, var <- expr evaluates the R expression expr and assigns the result to the variable var. If the statement occurs inside a function, then var becomes a function-local variable, otherwise, it becomes a global variable. c(0,0,0,1,0,1,0,1,1,1,1,0) Combines 12 double literals into a double vector in the order given. matrix(c(0,0,0,1,0,1,0,1,1,1,1,0),4,3, byrow=T … Read more