diff --git a/Homeworks/Homework_10.Rmd b/Homeworks/Homework_10.Rmd index dea6806..8741a88 100644 --- a/Homeworks/Homework_10.Rmd +++ b/Homeworks/Homework_10.Rmd @@ -18,7 +18,7 @@ output: 3. Write a function that takes as input two integers representing the number of rows and columns in a matrix. The output is a matrix of these dimensions in which each element is the product of the row number x the column number. -4. In the next few lectures, you will learn how to do a randomization test on your data. We will complete some of the steps today to practice calling custom functions within a for loop. Use the code from the March 31st lecture (Randomization Tests) to complete the following steps: +4. Now let's practice calling custom functions within a for loops. Use the code from previous lectures on loops and functions to complete the following steps: a. Simulate a dataset with 3 groups of data, each group drawn from a distribution with a different mean. The final data frame should have 1 column for group and 1 column for the response variable.