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

(Solved): given the formula for a list of 6 numbers as: \( \left\langle n^{*} 1, n^{*} 2, n^{*} 3, n^{*} 4, ...



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. \)

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} \)


We have an Answer from Expert

View Expert Answer

Expert Answer


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

Buy This Answer $5

Place Order

We Provide Services Across The Globe