Home /
Expert Answers /
Computer Science /
given-the-formula-for-a-list-of-6-numbers-as-left-langle-n-1-n-2-n-3-n-4-pa565

given the formula for a list of 6 numbers as: \( \left\langle n^{*} 1, n^{*} 2, n^{*} 3, n^{*} 4, n^{*} 5, n^{*} 6>\right. \) a. show the single line of \( R \) code that will set the values for \( x \) such that \( n=2 \) b. show the single line of \( R \) code that will set the values for \( y \) such that \( n=3 \) c. show the single line of \( R \) code that will: - plot \( x \& y \) (as from \( a \) \& b) as a single green line - name the graph with your name - name the \( x \)-axis "base 2" - name the y-axis "base 3" d. show the single line of \( \mathrm{R} \) code that will show the minimum, median, mean, max, 1st qu \& 3rd qu for \( \mathbf{x} \)

a. To set the values for x such that n = 2, the single line of R code would be: x <- c(2, 4, 6