R Exercises for Beginners 1-10 – Solutions
1. Get the length of the lynx dataset Create a vector of ordered index numbers (hint: order, increasing) Get 2 vectors (index positions and absolute values) with all observations smaller than 500 (hint: which, subset) 2. Get a Histogram of the lynx dataset Adjust the bin size to have 7 bins Remove the labs, change