xts
Reformatting xts object based on criteria
I have an xts object with series of monthly compounded returns of stocks in the following form: AALBERTS ABN_AMRO ABN_LNAM ACCELL_GAEGON___[详细]
2023-02-19 20:19 分类:问答How to vectorize: set a value based on last time a binary vector was 1
I have another开发者_C百科 R beginner question... How can I vectorize (avoid for loop in) following code:[详细]
2023-02-18 15:39 分类:问答Change value of some column in xts based on other columns values with lookback
I have the following xts object (representing long/short entries (column 1 and 2) and exit (columns 3 and 4) triggerswith \"aggregate\" signal column which should be 1 (system is long), -1 (system is[详细]
2023-02-13 14:01 分类:问答Rank ordering xts objects representing some property of equities using R
I am trying to rank order equities (by return for example). As a result I would like to receive a table containing names of stocks in ascending/descending order (parameter to this rank order function)[详细]
2023-02-12 16:45 分类:问答Errors installing RForge version of xts package for R on OSX
The latest version of xts on CRAN is 0.7-5. But I\'d like to try out the blotter package, for which xts>= 0.7.6.17 is required. To get this latest version, I first I downloaded the .tgz file from RFor[详细]
2023-02-12 05:57 分类:问答R: Technical analysis annual results
Dear List, I am trying for technical analysis with R, using packages TTR, quantmod, zoo I have daily prices of gold, the data looks like:[详细]
2023-02-07 12:22 分类:问答凯迪拉克XTS为什么突然降价高达7万???
庞帅 开发者_运维百科 2021-08-04 05:33 因为如果不降价卖出去,就全部会砸在厂商自己手里。jerrytow[详细]
2023-02-04 12:25 分类:问答R: Converting data frame (mixed factor and numeric) to XTS in R
When converting a data frame with mixed factor and numeric columns to an xts, all of my data gets converted to strings. This isn\'t a problem with the factors, but it\'s extremely annoying with the nu[详细]
2023-01-31 06:39 分类:问答Setting an xts Index
Build an xts object with two rows. library(xts) junk<-xts(c(1,2),as.Date(c(\"2开发者_运维知识库010-01-01\",\"2010-05-01\")))[详细]
2023-01-30 15:43 分类:问答R: converting xts or zoo object to a data frame
What is an easy way of coercing time series data to a data frame, in a format where the resulting data is a summary of the original?[详细]
2023-01-28 22:25 分类:问答