1

What will be the output of the following R code? > set.seed(10) > x <- rbinom(100, 1, 0.5) > str(x)

Correct Answer: int [1:100] 1 0 0 1 0 0 0 0 1 0 ...

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: What will be the output of the following R code? > set.seed(10) > x str(x) | Extra Education