Skip to content

Commit

Permalink
edit Homework 10
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeni2442 committed Apr 3, 2024
1 parent afd9dab commit ff135f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Homeworks/Homework_10.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit ff135f4

Please sign in to comment.