огледало од https://git.sr.ht/~hrbrmstr/metis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
218 B
13 lines
218 B
пре 5 година
|
set_names <- function (object = nm, nm) {
|
||
|
names(object) <- nm
|
||
|
object
|
||
|
}
|
||
|
|
||
|
as_date <- function(x) {
|
||
|
as.Date(x, origin = "1970-01-01")
|
||
|
}
|
||
|
|
||
|
as_posixct <- function(x) {
|
||
|
as.POSIXct(x, origin = "1970-01-01 00:00:00")
|
||
|
}
|