## To get start, end and sequence of previous month
previousmonth <- previous_month()
## To get vector of date sequences
previous_month(part = "sequence")
previous_month()$sequence
seq(previousmonth)
## Get number of days of previous months
day_nums <- previous_month(part = "length")
previous_month()$length
length(previousmonth)
Run the code above in your browser using DataLab