Learn R Programming

dsa (version 0.74.18)

dow_dummy: Dummy for the Day of the Week

Description

Creates dummies for each chosen day of the week.

Usage

dow_dummy(
  day = "1",
  start = "2010/1/1",
  end = "2015/01/01",
  delete29_2 = FALSE
)

Arguments

day

Day of the Week for which dummy is created

start

Startdate

end

Enddate

delete29_2

Should 29 Feb be deleted?

Details

This function is used in dsa() to create day of the week dummies.

Examples

Run this code
# NOT RUN {
plot(dow_dummy())
# }

Run the code above in your browser using DataLab