search for: otherd

Displaying 2 results from an estimated 2 matches for "otherd".

Did you mean: other
2017 Nov 08
2
Help Converting Calendars
...example ... dates <- c("2017-10-1","2017-10-2","2017-10-3") myData <- data.frame(dates) myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d") > myData dates 1 2017-10-01 2 2017-10-02 3 2017-10-03 library(ConvCalendar) p.dates <- as.OtherDate(myData$dates,"persian") # after convering I get the following list > p.dates $day [1] 9 10 11 $month [1] 7 7 7 $year [1] 1396 1396 1396 attr(,"row.names") [1] 1 2 3 attr(,"class") [1] "OtherDate" attr(,"calendar") [1] "persian"...
2017 Nov 08
0
Help Converting Calendars
...example ... dates <- c("2017-10-1","2017-10-2","2017-10-3") myData <- data.frame(dates) myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d") > myData dates 1 2017-10-01 2 2017-10-02 3 2017-10-03 library(ConvCalendar) p.dates <- as.OtherDate(myData$dates,"persian") # after convering I get the following list > p.dates $day [1] 9 10 11 $month [1] 7 7 7 $year [1] 1396 1396 1396 attr(,"row.names") [1] 1 2 3 attr(,"class") [1] "OtherDate" attr(,"calendar") [1] "persian"...