"R as.Date()"의 두 판 사이의 차이

(새 문서: ==개요== ;R as.Date() <source lang='r'> as.Date("2019-01-01")+100 ## [1] "2019-04-11" </source> ==같이 보기== * R as.character() ==참고== * https://www.rdocumentation.o...)
 
5번째 줄: 5번째 줄:
as.Date("2019-01-01")+100
as.Date("2019-01-01")+100
## [1] "2019-04-11"
## [1] "2019-04-11"
class( as.Date("2019-01-01")+100 )
## [1] "Date"
</source>
<source lang='r'>
as.character(as.Date("2019-01-01")+100)
## [1] "2019-04-11"
class( as.character(as.Date("2019-01-01")+100) )
## [1] "character"
</source>
</source>



2019년 4월 26일 (금) 01:43 판

1 개요

R as.Date()
as.Date("2019-01-01")+100
## [1] "2019-04-11"
class( as.Date("2019-01-01")+100 )
## [1] "Date"
as.character(as.Date("2019-01-01")+100)
## [1] "2019-04-11"
class( as.character(as.Date("2019-01-01")+100) )
## [1] "character"

2 같이 보기

3 참고

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