Question:

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


Keywords:

© 2017 QuizBucket.org