I would like to create a new data frame that has one row for each day, and the “water_use_per_day” column is repeated X times, where X= “NumDays”, as shown below:
Thinking the seq() function might be helpful here, but my first attempts aren’t working out. Thanks for reading!
Kei, this is exactly what I needed and it works wonderfully!! Thank you soo much. I have a huge dataset to analyze and you and Exploratory have again saved me hours and hours of work.