Learn R Programming

taRifx (version 1.0.6.2)

daysofweek: Return a vector of the days of the week, in order

Description

Return a vector of the days of the week, in order

Usage

daysofweek(start.day = "Monday")

Arguments

start.day

Day of the week to begin the week with (as a text item)

Value

Character vector of length 7

Examples

Run this code
# NOT RUN {
daysofweek("Sunday")
# }

Run the code above in your browser using DataLab