Short RStudio homework help - deadline 18.12.23 and I am willing to pay for the help so I can finish my Master's studies!

I forgot, some useful general guidelines for asking questions in the forum.

FAQ Asking Questions

A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here between
```

```