Package: xts 0.14.2
xts: eXtensible Time Series
Provide for uniform handling of R's different time-based data classes by extending zoo, maximizing native format information preservation and allowing for user level customization and extension, while simplifying cross-class interoperability.
Authors:
xts_0.14.2.tar.gz
xts_0.14.2.zip(r-4.6)xts_0.14.2.zip(r-4.5)xts_0.14.2.zip(r-4.4)
xts_0.14.2.tgz(r-4.6-x86_64)xts_0.14.2.tgz(r-4.6-arm64)xts_0.14.2.tgz(r-4.5-x86_64)xts_0.14.2.tgz(r-4.5-arm64)
xts_0.14.2.tar.gz(r-4.6-arm64)xts_0.14.2.tar.gz(r-4.6-x86_64)xts_0.14.2.tar.gz(r-4.5-arm64)xts_0.14.2.tar.gz(r-4.5-x86_64)
xts_0.14.2.tgz(r-4.5-emscripten)
xts.pdf |xts.html✨
xts/json (API)
NEWS
| # Install 'xts' in R: |
| install.packages('xts', repos = c('https://joshuaulrich.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/joshuaulrich/xts/issues
- sample_matrix - Sample Data Matrix For xts Example and Unit Testing
Last updated from:d12068170f. Checks:10 OK, 3 NOTE. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-arm64 | OK | 151 | |
| linux-devel-x86_64 | OK | 124 | |
| source / vignettes | OK | 188 | |
| linux-release-arm64 | OK | 122 | |
| linux-release-x86_64 | OK | 116 | |
| macos-devel-arm64 | NOTE | 90 | |
| macos-devel-x86_64 | NOTE | 161 | |
| macos-release-arm64 | OK | 105 | |
| macos-release-x86_64 | OK | 208 | |
| windows-devel | NOTE | 134 | |
| windows-release | OK | 102 | |
| windows-oldrel | OK | 106 | |
| wasm-release | OK | 112 |
Exports:.index.index<-.indexDate.indexday.indexhour.indexisdst.indexmday.indexmin.indexmon.indexsec.indexwday.indexweek.indexyday.indexyear.parseISO8601.subset_xts.subset.xts.xtsaddEventLinesaddLegendaddPaneladdPolygonaddSeriesadj.timealign.timeapply.dailyapply.monthlyapply.quarterlyapply.weeklyapply.yearlyas.environment.xtsas.xtsaxTicksByTimec.xtscbind.xtsCLASSCLASS<-convertIndexdiff.xtsdimnames.xtsdimnames<-.xtsendpointsfirstfirstofindexClassindexClass<-indexFormatindexFormat<-indexTZindexTZ<-is.index.uniqueis.time.uniqueis.timeBasedis.xtsisOrderedlag.xtslastlastofmake.index.uniquemake.time.uniquemerge.xtsndaysnhoursnminutesnmonthsnquartersnsecondsnweeksnyearsperiod.applyperiod.maxperiod.minperiod.prodperiod.sumperiodicityplot.xtsrbind.xtsreclassReclassshift.timesplit.xtstclasstclass<-tformattformat<-timeBasedtimeBasedRangetimeBasedSeqto_periodto.dailyto.hourlyto.minutesto.minutes10to.minutes15to.minutes3to.minutes30to.minutes5to.monthlyto.periodto.quarterlyto.weeklyto.yearlytry.xtstzonetzone<-use.reclassuse.xtsxcoredataxcoredata<-xtsxtsAttributesxtsAttributes<-xtsible
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| xts: extensible time-series | xts-package |
| Internal ISO 8601:2004(e) Time Parser | .parseISO8601 ISO8601 parseISO8601 |
| Extract Subsets of xts Objects | .subset.xts .subset_xts subset.xts [.xts |
| Add vertical lines to an existing xts plot | addEventLines |
| Add Legend | addLegend |
| Add a panel to an existing xts plot | addPanel |
| Add a polygon to an existing xts plot | addPolygon |
| Add a time series to an existing xts plot | addSeries |
| Align seconds, minutes, and hours to beginning of next period. | adj.time align.time align.time.xts shift.time |
| Apply Function over Calendar Periods | apply.daily apply.monthly apply.quarterly apply.weekly apply.yearly |
| Coerce an xts Object to an Environment by Column | as.environment.xts |
| Convert Objects To and From xts | as.xts as.xts.data.frame as.xts.Date as.xts.irts as.xts.matrix as.xts.POSIXt as.xts.timeDate as.xts.timeSeries as.xts.ts as.xts.yearmon as.xts.yearqtr as.xts.zoo xtsible |
| Compute x-Axis Tickmark Locations by Time | axTicksByTime |
| Concatenate Two or More xts Objects by Row | c.xts rbind.xts |
| Extract and Set .CLASS Attribute | CLASS CLASS<- |
| Extract/Replace Core Data of an xts Object | coredata.xts xcoredata xcoredata<- |
| Dimnames of an xts Object | dimnames.xts dimnames<-.xts |
| Locate Endpoints by Time | endpoints |
| Return First or Last n Elements of A Data Object | first first.default first.xts last last.default last.xts |
| Create a POSIXct Object | firstof lastof |
| Get and Replace the Class of an xts Index | .index .index<- .indexbday .indexDate .indexday .indexhour .indexisdst .indexmday .indexmin .indexmon .indexsec .indexwday .indexweek .indexyday .indexyear .indexyweek convertIndex index.xts index<-.xts time.xts time<-.xts |
| Get or Replace the Timezone of an xts Object's Index | indexTZ indexTZ<- tzone tzone<- |
| Force Time Values To Be Unique | is.index.unique is.time.unique make.index.unique make.time.unique |
| Check if Class is Time-Based | is.timeBased timeBased |
| Check If A Vector Is Ordered | isOrdered |
| Lags and Differences of xts Objects | diff.xts lag.xts |
| Merge xts Objects | cbind.xts merge.xts |
| Last Observation Carried Forward | na.locf.xts |
| Number of Periods in Data | ndays nhours nminutes nmonths nquarters nseconds nweeks nyears |
| Apply Function Over Specified Interval | period.apply |
| Optimized Calculations By Period | period.max period.min period.prod period.sum |
| Approximate Series Periodicity | periodicity |
| Plotting xts Objects | lines.xts plot.xts points.xts |
| Print An xts Time-Series Object | print.xts |
| Sample Data Matrix For xts Example and Unit Testing | sample_matrix |
| Divide into Groups by Time | split.xts |
| Get or Replace the Class of an xts Object's Index | indexClass indexClass<- tclass tclass.default tclass.xts tclass<- tclass<-.default tclass<-.xts |
| Get or Replace the Format of an xts Object's Index | indexFormat indexFormat<- tformat tformat<- |
| Create a Sequence or Range of Times | timeBasedRange timeBasedSeq |
| Convert time series data to an OHLC series | to.daily to.hourly to.minutes to.minutes10 to.minutes15 to.minutes3 to.minutes30 to.minutes5 to.monthly to.period to.quarterly to.weekly to.yearly to_period |
| Convert Objects to xts and Back to Original Class | Reclass reclass try.xts use.reclass use.xts |
| Extract Time Windows from xts Objects | window.xts |
| Create or Test For An xts Time-Series Object | .xts is.xts xts |
| Internal Documentation | xts-internals |
| xts C API Documentation | xtsAPI |
| Extract and Replace xts Attributes | xtsAttributes xtsAttributes<- |
