getDayTSS: Get day TSS

Description Usage Arguments Examples

View source: R/helper.R

Description

Get day TSS

Usage

1
getDayTSS(day)

Arguments

day

(dayWeek) A dayWeek object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#add a run threshold to settings
mySettings <- addThreshold(sport = 'run', metric = 'pace', value = '4:30')

# create run session
runSession <- createSession(sport = 'run', metric = 'pace', minTargetZ = c(40, 20),
targetZ = c('4:50', '4:30'),
userSettings =  mySettings,
description = 'making a run test session')

# create a new plan
newPlan <- storeSettings(mySettings)

# add session to the plan
newPlan <- addSessionToPlan(weeklyPlan = newPlan, session = runSession,
day = 'thursday')

getDayTSS(day = slot(newPlan, 'thursday'))

theasjblog/tssPlanner_package documentation built on March 8, 2020, 2:36 a.m.