R weekdays()

1 개요[ | ]

R weekdays()
  • "Extract Parts Of A POSIXt Or Date Object → POSIXt 또는 Date 객체의 일부 추출"
day <- as.Date("2019-08-15")
str(day)
 Date[1:1], format: "2019-08-15"
weekdays(day)
## [1] "목요일"
dt <- as.POSIXct("2019-08-15 01:00")
str(dt)
## POSIXct[1:1], format: "2019-08-15 01:00:00"
weekdays(dt)
## [1] "목요일"

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}