1.

What Will Be The Output On Executing The Following R Programming Code ?

Answer»

mat<-MATRIX(REP(c(TRUE,FALSE),8),nrow=4)

sum(mat)

 8

mat<-matrix(rep(c(TRUE,FALSE),8),nrow=4)

sum(mat)

 8



Discussion

No Comment Found