Chapter 21 Recipes!

Here we plan to add the R code (recipes) for key datasets in this skills pack. The first recipe is for creating the cookie dataset (“cookie_second_recipe”) used at the start. Please note that there will be slight differences in the output from the recipes due to the use of randomization whilst simulating the data. The R function, “rnorm” was used to generate the data. Have a look at the documentation for “rnorm” here: https://www.rdocumentation.org/packages/compositions/versions/1.40-3/topics/rnorm