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_2

Step: 3

blur-text-image_3

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

A First Course In Differential Equations With Modeling Applications

Authors: Dennis G Zill

11th Edition

1337515574, 9781337515573

More Books

Students also viewed these Mathematics questions

Question

2. To store it and

Answered: 1 week ago