Home
last modified time | relevance | path

Searched +refs:as +refs:POSIXlt +refs:xts (Results 1 – 25 of 25) sorted by relevance

/dports/devel/R-cran-lubridate/lubridate/
H A DNAMESPACE3 S3method(as.POSIXct,fts)
4 S3method(as.POSIXct,irts)
6 S3method(as.POSIXct,xts)
8 S3method(as.POSIXlt,fts)
9 S3method(as.POSIXlt,irts)
10 S3method(as.POSIXlt,timeSeries)
11 S3method(as.POSIXlt,tis)
12 S3method(as.POSIXlt,xts)
13 S3method(as.POSIXlt,zoo)
37 S3method(reclass_date,POSIXlt)
[all …]
/dports/devel/R-cran-data.table/data.table/
H A DNAMESPACE137 S3method(as.data.table, xts)
139 …export(as.xts.data.table) # fails in R-devel if not exported too, but I don't understand …
140 …S3method(xts::as.xts, data.table) # delayed registration (new in R-devel) -- shouldn't this also…
142 …export(as.xts.data.table) # this on some configuration happens to fail as.xts dispatch to…
146 export(as.IDate,as.ITime,IDateTime)
154 S3method(as.Date, IDate) # note that base::as.Date is masked by zoo::as.Date, #1500 #4777
155 S3method(as.IDate, Date)
163 S3method(as.ITime, POSIXlt)
164 S3method(as.ITime, times)
165 S3method(as.list, IDate)
[all …]
H A DNEWS.md66as.Date.IDate` is no longer exported as a function to solve a new error in R-devel `S3 method look…
183 …names` argument in `as.data.table.xts` now accepts a string, which can be used for specifying the …
197 3. Dispatch of `first` and `last` functions now properly works again for `xts` objects, [#4053](htt…
459 # ids = as.factor(ids)
724 R CMD check <pkg> --as-cran
866 DT[, ID := as.factor(ID)]
951 2. Some namespace changes have been made with respect to melt, dcast and xts. No change is expected…
1056 …hen the input is already (explicitly) UTC-based `POSIXct` for 4-10x speedup vs. using `as.POSIXlt`.
1167 …ved auto-detection of `character` inputs' formats to `as.ITime` to mirror the logic in `as.POSIXlt
1270 19. Fixed `as.xts.data.table` to support all xts supported time based index clasess [#2408](https:/…
[all …]
/dports/math/R-cran-xts/xts/
H A DNAMESPACE73 export(as.xts)
191 S3method(align.time, POSIXlt)
218 S3method(as.xts,xts)
272 S3method(as.list,xts)
275 S3method(as.xts, ts)
276 S3method(as.ts, xts)
280 S3method(as.xts,zoo)
282 # xts:::as.zoo.xts was copied to zoo:::as.zoo.xts in zoo 1.8-5
305 S3method(as.xts,irts)
311 S3method(as.xts,fts)
[all …]
/dports/devel/R-cran-lubridate/lubridate/man/
H A Dquarter.Rd18 \item{x}{a date-time object of class POSIXct, POSIXlt, Date, chron, yearmon,
19 yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, fts or
20 anything else that can be converted with as.POSIXlt}
H A Dminute.Rd18 the minutes element of x as a decimal number
21 Date-time must be a POSIXct, POSIXlt, Date, Period, chron, yearmon, yearqtr, zoo,
22 zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
H A Dsecond.Rd18 the seconds element of x as a decimal number
21 Date-time must be a POSIXct, POSIXlt, Date, Period, chron, yearmon, yearqtr, zoo,
22 zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
H A Dhour.Rd18 the hours element of x as a decimal number
21 Date-time must be a POSIXct, POSIXlt, Date, Period, chron, yearmon, yearqtr, zoo,
22 zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
H A Ddate.Rd18 the date of x as a Date
21 Date-time must be a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo,
22 zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
38 as.Date(x) # by default as.Date assumes you want to know the date in UTC
39 as.Date(x, tz = "America/New_York")
40 date(x) <- as.Date("2000-01-02")
H A Dmonth.Rd15 \item{label}{logical. TRUE will display the month as a character string such
16 as "January." FALSE will display the month as a number.}
18 \item{abbr}{logical. FALSE will display the month as a character string
19 label, such as "January". TRUE will display an abbreviated version of the
20 label, such as "Jan". abbr is disregarded if label = FALSE.}
27 If \code{label = FALSE}: month as number (1-12, 1 = January, 12 = December),
28 otherwise as an ordered factor.
31 Date-time must be a POSIXct, POSIXlt, Date, Period, chron, yearmon, yearqtr, zoo,
32 zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
H A Dweek.Rd19 \item{x}{a date-time object. Must be a POSIXct, POSIXlt, Date, chron,
20 yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, or
26 the weeks element of x as an integer number
32 \code{isoweek()} returns the week as it would appear in the ISO 8601
36 follows same rules as \code{isoweek()} but starts on Sunday. In other parts of
38 which is the same as \code{isoweek}.
H A Dday.Rd43 \item{x}{a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg,
44 timeDate, xts, its, ti, jul, timeSeries, or fts object.}
47 the week as an ordered factor of character strings, such as "Sunday." FALSE
48 will display the day of the week as a number.}
51 the week as an ordered factor of character strings, such as "Sunday." TRUE
52 will display an abbreviated version of the label, such as "Sun". abbr is
65 \code{wday()} returns the day of the week as a decimal number or an
77 x <- as.Date("2009-09-02")
85 x <- as.Date("2009-09-02")
/dports/math/R-cran-zoo/zoo/
H A DNAMESPACE11 "as.zoo",
12 "as.zoo.default",
13 "as.zooreg",
89 "as.yearmon",
93 "as.yearqtr",
133 "as.Date",
137 "as.Date.ts",
301 S3method("as.POSIXlt", "yearmon")
331 S3method("as.POSIXlt", "yearqtr")
427 S3method("as.zoo", "xts")
[all …]
H A DNEWS55 (Prompted by https://github.com/joshuaulrich/xts/issues/45)
76 o Replace as.zoo.xts() with xts:::as.zoo.xts(). Both zoo and xts register
77 an as.zoo.xts() method with the xts version being slightly better. Hence
78 the zoo version was replaced with the xts version as the package that owns
360 o Bug fix in C-version of lag function for xts.
376 built on top of "zoo" (especially "xts"). This has no effect on "zoo".
429 o a new src/ directory containing C code backported from the xts package is now
431 internals of xts with zoo. xts is now using the LinkingTo option to
432 call certain code in the zoo package (previously in xts/src). Subsequent
555 o as.zoo() methods for "xts", "tis", "fts", and "mcmc" objects (the other
[all …]
/dports/math/R-cran-zoo/zoo/man/
H A Dna.locf.Rd39 (e.g., \code{ts}, \code{zoo}, \code{xts}, etc.) where it preserves
49 the same meaning as in \code{\link{approx}}.
76 as.Date(c("1993-01-01", "1993-01-09", "1993-01-16",
97 1307.85, 1312.25, 1325.76), as.Date(c(13242, 13244,
102 # z.na is same as z but with missing days added (with NAs)
109 na.locf(z.na)[as.POSIXlt(time(z.na))$mday == 5]
111 ## this is the same as the last one except instead of always using the
121 z.na[idx[as.POSIXlt(time(z.na))$mday == 5]]
131 m <- zoo(cbind(c(1, 2, NA, NA, 5, NA, NA), seq(7)^2), as.Date(1:7))
138 zq <- zoo(c(1, NA, 3, 4), as.yearqtr(2000) + 0:3/4)
[all …]
/dports/devel/R-cran-data.table/data.table/po/
H A DR-zh_CN.po72 "POSIXlt column type detected and converted to POSIXct. We do not recommend "
73 "use of POSIXlt at all because it uses 40 bytes to store one date."
75 "检测到使用了POSIXlt类型的列, 并转成POSIXctdata.table不建议使用POSIXlt对象, "
685 "the chance of assigning POSIXlt columns, which use 40+ bytes to store one "
1073 "is of POSIXlt type. Please convert it to POSIXct using as.POSIXct and run "
1077 "属于 POSIXlt 类型。请使用 as.POSIXct 转换为 POSIXct 并再次执行setDT。我们非常"
1078 "不推荐使用 POSIXlt 因为它要用 40 字节来存储一个日期。"
1824 "'xts' class passed to %s function but 'xts' is not available, you should "
1825 "have 'xts' installed already"
1826 msgstr "'xts'类对象传递给了%s方程,但是'xts'包不可用。您应首先安装'xts'包"
[all …]
H A DR-data.table.pot58 msgid "POSIXlt column type detected and converted to POSIXct. We do not recommend use of POSIXlt at…
490as.POSIXct(). This is to minimize the chance of assigning POSIXlt columns, which use 40+ bytes to …
577 msgid "as.integer(rownames)=="
784 msgid "is of POSIXlt type. Please convert it to POSIXct using as.POSIXct and run setDT again. We do…
871 msgid ") or as.data.table("
1084 msgid "Taking input= as a system command ('"
1120 msgid "colClasses=\"NULL\" (quoted) is interpreted as colClasses=NULL (the default) as opposed to d…
1135 msgid "Combining a search string as 'skip' and reading a YAML header may not work as expected -- cu…
1231 msgid "so the column has been left as type '"
1318 msgid "'xts' class passed to %s function but 'xts' is not available, you should have 'xts' installe…
[all …]
/dports/finance/R-cran-timeDate/timeDate/
H A DChangeLog5 as.POSIXct
15 xts:::endpoints()
99 masking as.Date.timeDate method.
124 specify days that should be considered as weekdays. By defaults
171 as.POSIXlt.timeDate for better tzone management in holidays.
176 * R/methods-as.R: as.POSIXlt.timeDate and as.POSIXct.timeDate now
180 old setting as invisible.
187 timeSequence() is now the same as argument by in seq.timeDate()
297 R/holiday-TSX.R, R/holiday-ZURICH.R, R/holiday.R, R/methods-as.R,
474 * R/methods-show.R: 'show' should return an invisible 'NULL'. as
/dports/math/R-cran-zoo/zoo/tests/Examples/
H A Dzoo-Ex.Rout.save29 as.Date, as.Date.numeric
305 > ### Aliases: as.zoo as.zoo.default as.zoo.data.frame as.zoo.fts as.zoo.its
306 > ### as.zoo.irts as.zoo.matrix as.zoo.mcmc as.zoo.tis as.zoo.xts
307 > ### as.zoo.zoo as.matrix.zoo as.vector.zoo as.data.frame.zoo as.list.zoo
308 > ### as.list.ts as.zoo.ts as.ts.zoo
1338 > na.locf(z.na)[as.POSIXlt(time(z.na))$mday == 5]
1352 > z.na[idx[as.POSIXlt(time(z.na))$mday == 5]]
2726 > ### as.POSIXlt.yearmon as.list.yearmon as.numeric.yearmon
2781 + as.numeric(d - as.Date(as.yearmon(d)))
2867 > ### as.Date.yearqtr as.POSIXct.yearqtr as.POSIXlt.yearqtr as.list.yearqtr
[all …]
/dports/math/R-cran-zoo/zoo/inst/doc/
H A Dzoo-faq.Rnw307 \code{as.yearmon2.Date} methods as well as the inverse:
311 as.yearmon2 <- function(x, ...) UseMethod("as.yearmon2")
313 y <- as.yearmon(with(as.POSIXlt(x, tz = "GMT"), 1900 + year + mon/12))
319 \code{as.Date.yearmon2} is inverse of \code{as.yearmon2.Date}
329 as.Date((1-frac) * as.numeric(dd.start) + frac * as.numeric(dd.end),
358 m <- unique(as.Date(as.yearmon(tt)))
375 m <- unique(as.Date(as.yearmon(tt)))
399 m <- unique(as.Date(as.yearmon(tt)))
465 as.zoo(as.timeSeries(zz))
534 \pkg{xts} & eXtensible Time Series \\ \hline
[all …]
H A Dzoo.Rnw115 approaches, the class \code{"xts"} built upon \code{"zoo"} was recently
116 introduced by][.]{zoo:xts:2008}. \pkg{zoo} also bridges the gap
384 zr1 <- as.zoo(zr1)
400 as.ts(zr1)
401 identical(zr2, as.zoo(as.ts(zr2)))
562 head(as.zoo(Nile))
680 \label{sec:as.zoo}
695 as.data.frame(Z)
975 such as \code{"yearqtr"} or to finer time scales such as
976 \code{"Date"}, \code{"POSIXct"} or \code{"POSIXlt"} which by default associate the first day
[all …]
/dports/math/R-cran-zoo/zoo/vignettes/
H A Dzoo-faq.Rnw307 \code{as.yearmon2.Date} methods as well as the inverse:
311 as.yearmon2 <- function(x, ...) UseMethod("as.yearmon2")
313 y <- as.yearmon(with(as.POSIXlt(x, tz = "GMT"), 1900 + year + mon/12))
319 \code{as.Date.yearmon2} is inverse of \code{as.yearmon2.Date}
329 as.Date((1-frac) * as.numeric(dd.start) + frac * as.numeric(dd.end),
358 m <- unique(as.Date(as.yearmon(tt)))
375 m <- unique(as.Date(as.yearmon(tt)))
399 m <- unique(as.Date(as.yearmon(tt)))
465 as.zoo(as.timeSeries(zz))
534 \pkg{xts} & eXtensible Time Series \\ \hline
[all …]
H A Dzoo.Rnw115 approaches, the class \code{"xts"} built upon \code{"zoo"} was recently
116 introduced by][.]{zoo:xts:2008}. \pkg{zoo} also bridges the gap
384 zr1 <- as.zoo(zr1)
400 as.ts(zr1)
401 identical(zr2, as.zoo(as.ts(zr2)))
562 head(as.zoo(Nile))
680 \label{sec:as.zoo}
695 as.data.frame(Z)
975 such as \code{"yearqtr"} or to finer time scales such as
976 \code{"Date"}, \code{"POSIXct"} or \code{"POSIXlt"} which by default associate the first day
[all …]
/dports/math/R/R-4.1.2/doc/manual/
H A DR-exts.texi135 were officially known as @emph{library sections} and later as
1086 with each of these set, as well as with neither.
2894 feature tests as well as resources such as
7727 @LaTeX{} as well as extraction of the examples.
8217 "as.POSIXct.POSIXlt" 1.40 33.82 1.42 34.30
8222 so the conversion from character to @code{POSIXlt} takes most of the
10376 as.integer(m), as.integer(n))$p
10609 such as
10855 linking to @CRANpkg{bdsmatrix} and @CRANpkg{xts} linking to
11261 the compiler as well as the linker).
[all …]
/dports/math/libRmath/R-4.1.1/doc/manual/
H A DR-exts.texi135 were officially known as @emph{library sections} and later as
1086 with each of these set, as well as with neither.
2879 feature tests as well as resources such as
7684 @LaTeX{} as well as extraction of the examples.
8174 "as.POSIXct.POSIXlt" 1.40 33.82 1.42 34.30
8179 so the conversion from character to @code{POSIXlt} takes most of the
10326 as.integer(m), as.integer(n))$p
10559 such as
10805 linking to @CRANpkg{bdsmatrix} and @CRANpkg{xts} linking to
11211 the compiler as well as the linker).
[all …]