python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why am I getting an error message when trying to plot an xts object in R?
I am trying to plot an xts object in R. Below is the code I am running that gives me the error message.
outcomes_xts <- xts(true_outcomes, as.yearqtr(end_dates))
plot(as.zoo("outcomes_xts&quo...
shineoballo
Votes: 0
Answers: 0
Why I am having troubles with the pipe operator?
I have been using this code multiple times, it worked two weeks ago as usual, but now, when I run the first line, R does not change the dataset I don't know why. As soon as I remove the pipe operator ...
Sebastian Merizalde
Votes: 0
Answers: 1
merge xts objects with suffixes dynamically
The task is to dynamically merge multiple xts objects into one big blob with suffixes, where suffixes are essentially the column names for the xts objects.
Sample Data:
library(xts)
a <- data.frame...
stucash
Votes: 0
Answers: 2
xts conversion fails on 7 line data frame
I am trying to read a csv file and create an xts object. The xts conversion function fails on an 7 line input file. The error is:
Error in xts(Lagoon$Inst, Lagoon$time) :
'order.by' cannot contain 'NA...
Carl Morgenstern
Votes: 0
Answers: 2