Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Explain what this code does: (R studio) ```{r} set.seed(10) x=sample(1:10,100,replace=T) x ``` Output: [1] 9 10 7 8 6 7 3 8 10 7

1. Explain what this code does: (R studio)

```{r}

set.seed(10)

x=sample(1:10,100,replace=T)

x

```

Output:

[1] 9 10 7 8 6 7 3 8 10 7 10 2 8 8 7 6 7 6 2 5 [21] 9 2 10 5 10 1 7 10 2 9 4 2 8 3 6 2 1 10 10 1 [41] 9 9 8 5 10 9 1 7 8 2 4 3 1 3 10 10 10 7 10 5 [61] 3 5 5 7 3 6 9 2 3 6 10 10 9 5 10 10 2 9 4 4 [81] 3 7 1 4 6 9 3 9 9 1 6 10 7 9 8 9 4 3 3 3

Please help. I'm not exactly sure what it means.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Differential Equations And Boundary Value Problems

Authors: William E Boyce, Richard C DiPrima

8th Edition

0470476389, 9780470476383

More Books

Students also viewed these Mathematics questions

Question

List as many different kinds of fossils as you can.

Answered: 1 week ago

Question

6. What information processes operate in communication situations?

Answered: 1 week ago

Question

3. How can we use information and communication to generate trust?

Answered: 1 week ago