What will be the Correct R code for the following output?
foo bar1 1 TRUE2 2 TRUE3 3 FALSE4 4 FALSE

What will be the Correct R code for the following output?

foo bar1 1 TRUE2 2 TRUE3 3 FALSE4 4 FALSE
Correct Answer &gt; x &lt;- data.frame(foo = 1:4, bar = c(T, T, F, F))<br>&gt; x

Related Questions