avg_lbs_day: Average Amount of Weight (lbs) Used in Exercises Each Week

Description Usage Details Value

View source: R/avg_lbs_day.R

Description

This function, avg_lbs_day, generates a ggplot where the average amount of weight in pounds used in different exercises are displayed over a certain number of weeks for different workout days.

Usage

1

Details

data <- The desired data set being used b <- The workout day that is being examined.

The ggplot() command first subsets the desired data set only for the workout day that is being called into the function where the x-variable is the week number and y-variable is the average weight in pounds.

The x-variable, week #, is subtracted by the number 36 because it is ideal to look at the week in which the workout started, week 1, rather than the 37th week of the year.

Value

avg_lbs_day will return an aesthetic plot of the workout day being examined.


kcatalfamo/workouts documentation built on May 29, 2019, 3:01 a.m.