Home
last modified time | relevance | path

Searched +refs:is +refs:regular +refs:zooreg (Results 1 – 18 of 18) sorted by relevance

/dports/math/R-cran-zoo/zoo/man/
H A Dzooreg.Rd24 \code{zooreg} is the creator for the S3 class \code{"zooreg"}
58 Weakly regular series are strictly regular time series in which some
61 \code{"zooreg"} is a subclass of \code{"zoo"} that is used to represent both weakly
62 and strictly regular series. Internally, it is the same as \code{"zoo"} except
74 \code{zooreg} is the \code{zoo} analogue to \code{\link{ts}}. The arguments
77 creates a regular series of class \code{"zooreg"} which inherits from \code{"zoo"}.
80 \code{\link{zooreg}}, or coercion functions) it is always check whether the
96 For checking whether a series is strictly regular or does have an underlying
97 regularity the generic function \code{\link{is.regular}} can be used.
102 whether the series is in fact regular or not.
[all …]
H A Dis.regular.Rd1 \name{is.regular}
2 \alias{is.regular}
3 \alias{is.regular.zoo}
4 \alias{is.regular.ts}
5 \alias{is.regular.zooreg}
32 always strictly regular), \code{"zooreg"} objects (which are at least regular),
42 \seealso{\code{\link{zooreg}}, \code{\link{zoo}}}
50 is.regular(z)
53 is.regular(z[-3])
62 is.regular(z)
[all …]
H A Daggregate.zoo.Rd27 \item{regular}{logical. Should the aggregated series be coerced to class \code{"zooreg"}
28 (if the series is regular)? The default is \code{FALSE} for \code{"zoo"} series and
29 \code{TRUE} for \code{"zooreg"} series.}
31 (if a \code{"zooreg"} series should be returned. The default is to
32 determine the frequency from the data if \code{regular} is \code{TRUE}.
33 If \code{frequency} is specified, it sets \code{regular} to \code{TRUE}.
41 An object of class \code{"zoo"} or \code{"zooreg"}.
81 # 1. via "yearqtr" index (regular)
82 # 2. via "Date" index (not regular)
99 # was "zoo"). To create a regular series of class "zooreg",
[all …]
H A Dna.StructTS.Rd19 prior to each time point in \code{xout} is used as that time point's
26 be a regular time series and have a frequency. It is assumed the cycle length is 1.}
32 z <- zooreg(rep(10 * seq(8), each = 4) + rep(c(3, 1, 2, 4), times = 8),
H A Dzoo.Rd65 comply. If so, a regular \code{"zoo"} series is returned, i.e.,
66 an object of class \code{c("zooreg", "zoo")}. See below and
67 \code{\link{zooreg}} for more details.}
93 vectors/matrices, but it also supports regular time series (i.e.,
117 particular for regular series) and an \code{as.character} method might improve
129 object returned is actually of class \code{"zooreg"} which inherits from \code{"zoo"}.
132 index of that series). Regular \code{"zooreg"} series can also be created by
133 \code{\link{zooreg}}, the \code{zoo} analogue of \code{\link{ts}}. See the
134 respective help page and \code{\link{is.regular}} for further details.
260 \seealso{\code{\link{zooreg}}, \code{\link{plot.zoo}}, \code{\link{index}}, \code{\link{merge.zoo}}}
[all …]
H A Dread.zoo.Rd21 regular = FALSE, index.column = 1, drop = TRUE, FUN2 = NULL,
44 \item{regular}{logical. Should the series be coerced to class \code{"zooreg"}
45 (if the series is regular)?}
48 is used and \code{"NULL"} is among its components then
62 event that \code{FUN2} is specified and \code{FUN} is not)
76 but \code{FUN2} is specified then only \code{FUN2} is applied.}
130 is necessary if some date/time format is used that is not the default. And even
135 If \code{regular} is set to \code{TRUE} and the resulting series has an
136 underlying regularity, it is coerced to a \code{"zooreg"} series.
149 \code{read.zoo} returns an object of class \code{"zoo"} (or \code{"zooreg"}).
[all …]
/dports/math/R-cran-zoo/zoo/
H A DNAMESPACE10 "zooreg",
13 "as.zooreg",
14 "as.zooreg.default",
16 "is.zoo",
50 "is.regular",
189 S3method("is.regular", "zoo")
249 S3method("is.regular", "zooreg")
261 S3method("is.regular", "ts")
311 S3method("is.numeric", "yearmon")
341 S3method("is.numeric", "yearqtr")
[all …]
H A DMD517 1d215aeb25acc0c75a6321f0522e2a76 *R/is.regular.R
36 02cd2fc15375bc0a2049139cc2892729 *R/zooreg.R
73 8cf1931a2b0bf69932742baa3888633f *man/is.regular.Rd
93 58ee858545582658d9d7b4f7532b4e7e *man/zooreg.Rd
H A DNEWS662 was changed. By default, a regular series is only
664 a regular series is only created if indicated (by
754 resolved: is.regular(), frequency(), frequency<-() etc. all behave
830 o new argument `regular' in read.zoo() which is set to FALSE. Only if
831 set to TRUE the series read is coerced to "zooreg" (if possible),
834 o suppressWarnings() was added in is.regular() and frequency() functions
935 the aggregation groups. The return value is coerced to "zooreg"
936 if it is.regular.
941 o pair notation, e.g. c(1985,2), for "zooreg" series is now also
950 o regular "zoo" series: objects of class "zooreg" (inheriting from "zoo")
[all …]
/dports/math/R-cran-zoo/zoo/tests/Examples/
H A Dzoo-Ex.Rout.save633 > nameEx("is.regular")
634 > ### * is.regular
638 > ### Name: is.regular
640 > ### Aliases: is.regular is.regular.zoo is.regular.ts is.regular.zooreg
641 > ### is.regular.default
655 > is.regular(z)
660 > is.regular(z[-3])
666 > ## which is in fact regular
675 > is.regular(z)
680 > is.regular(z[-3])
[all …]
/dports/math/R-cran-zoo/zoo/inst/doc/
H A Dzoo.Rnw35 handling. A subclass \code{"zooreg"} embeds regular time series
308 is needed and \code{"zooreg"} fills this gap. Objects of class \code{"zooreg"} inherit
352 As stated above, the advantage of \code{"zooreg"} series is that they remain
353 regular even if an internal observation is dropped:
373 \code{is.regular(x, strict = FALSE)} can be used:
376 is.regular(zr1)
377 is.regular(zr1, strict = TRUE)
387 is.regular(zr1)
392 to store a regular series as a \code{"zooreg"} object if it is intended to be a regular series.
688 Coercion between \code{"zooreg"} and \code{"zoo"} is also available and is essentially
[all …]
H A Dzoo-faq.Rnw97 z[!is.na(time(z))]
153 whereas long format is not so wide format is the suitable one for zoo.
243 …oo" and a "zooreg" series which are otherwise the same?]{5. Why does lag give slightly different r…
247 input except its class is \code{"zoo"} in one case and \code{"zooreg"} in
252 zr <- as.zooreg(z)
261 \code{lag.zoo} and \code{lag.zooreg} work differently. For \code{"zoo"}
263 to the adjacent time point that exists in the series but for \code{"zooreg"}
265 regular times.
267 A key implication is that \code{"zooreg"} can lag a point to a time point
275 The difference between \code{diff.zoo} and \code{diff.zooreg} stems from
[all …]
H A Dzoo-read.Rnw23 The former case is handled by first using \fct{read.table} to produce the data frame.
25 string that is already stored in \proglang{R} which is used in the examples of this vignette.)
29 an overview is provided of the wide variety of cases that can be handled with
30 \fct{read.zoo}. All examples assume that \pkg{zoo} is already loaded and (if necessary)
104 \textbf{Strategy:} The idea is to add some dummy date (here 1970-01-01) to the
248 originally labeled, i.e., if Thursday is used it gets the date of that Thursday.
249 Another approach is to always label the resulting point as Friday
252 Create daily grid and fill in so Friday is filled in with prior value
253 if Friday is \code{NA}.
568 Then, create a regular univariate quarterly series by collapsing the annual series to a vector
[all …]
/dports/math/R-cran-zoo/zoo/vignettes/
H A Dzoo.Rnw35 handling. A subclass \code{"zooreg"} embeds regular time series
308 is needed and \code{"zooreg"} fills this gap. Objects of class \code{"zooreg"} inherit
352 As stated above, the advantage of \code{"zooreg"} series is that they remain
353 regular even if an internal observation is dropped:
373 \code{is.regular(x, strict = FALSE)} can be used:
376 is.regular(zr1)
377 is.regular(zr1, strict = TRUE)
387 is.regular(zr1)
392 to store a regular series as a \code{"zooreg"} object if it is intended to be a regular series.
688 Coercion between \code{"zooreg"} and \code{"zoo"} is also available and is essentially
[all …]
H A Dzoo-refcard-raw.tex13 \multicolumn{2}{l}{\textbf{Creation of regular series}} \\
14 \code{zoo(x, order.by, freq)} & works as above but creates a \code{"zooreg"}
18 \code{zooreg(x, start, end, freq)} & creates a \code{"zooreg"} series
31 \code{as.zoo} & coercion to \code{"zoo"} is available for objects
38 \code{is.zoo} & querying wether an object is of class \code{"zoo"} \\[0.5cm]
79 \multicolumn{2}{l}{\textbf{Methods for regular series}} \\
80 \code{is.regular} & checks whether a series is weakly (or strictly if \code{strict = TRUE})
81 regular \\
85 \code{cycle} & gives the position in the cycle of a regular series \\[0.5cm]
H A Dzoo-faq.Rnw97 z[!is.na(time(z))]
153 whereas long format is not so wide format is the suitable one for zoo.
243 …oo" and a "zooreg" series which are otherwise the same?]{5. Why does lag give slightly different r…
247 input except its class is \code{"zoo"} in one case and \code{"zooreg"} in
252 zr <- as.zooreg(z)
261 \code{lag.zoo} and \code{lag.zooreg} work differently. For \code{"zoo"}
263 to the adjacent time point that exists in the series but for \code{"zooreg"}
265 regular times.
267 A key implication is that \code{"zooreg"} can lag a point to a time point
275 The difference between \code{diff.zoo} and \code{diff.zooreg} stems from
[all …]
H A Dzoo-read.Rnw23 The former case is handled by first using \fct{read.table} to produce the data frame.
25 string that is already stored in \proglang{R} which is used in the examples of this vignette.)
29 an overview is provided of the wide variety of cases that can be handled with
30 \fct{read.zoo}. All examples assume that \pkg{zoo} is already loaded and (if necessary)
104 \textbf{Strategy:} The idea is to add some dummy date (here 1970-01-01) to the
248 originally labeled, i.e., if Thursday is used it gets the date of that Thursday.
249 Another approach is to always label the resulting point as Friday
252 Create daily grid and fill in so Friday is filled in with prior value
253 if Friday is \code{NA}.
568 Then, create a regular univariate quarterly series by collapsing the annual series to a vector
[all …]
/dports/math/R-cran-zoo/zoo/tests/
H A Dvignette-zoo.Rout.save6 R is free software and comes with ABSOLUTELY NO WARRANTY.
10 R is a collaborative project with many contributors.
34 > ## is used instead of get.hist.quote()
139 R> zr1 <- zooreg(sin(1:9), start = 2000, frequency = 4)
161 [1] "zooreg" "zoo"
169 R> zooreg(1:5, start = as.Date("2005-01-01"))
177 R> is.regular(zr1)
179 R> is.regular(zr1, strict = TRUE)
192 R> is.regular(zr1)
618 R> zr3 <- zooreg(rnorm(9), start = as.yearmon(2000), frequency = 12)