Displaying 9 results from an estimated 9 matches similar to: "Help in using col in plot().."
2012 Dec 27
1
Regarding multiple axes in plots..
Hello,
I'd like to draw 2 plots in one graph.
Here is my code:
plot(data_min1$macd,main="1 min MACD",type="l")
lines(data_min1$macdsig,col="red")
par(new=T)
plot(data_min1$macdhist,type="h",main="")
axis(4)
par(new=F)
It seems it works.
But left axes of two graphs are over-drawn.
Could you let me know how to fix it ?
2000 Feb 28
1
Parser Bug Somewhere.... (PR#460)
Full_Name: John P Cavanaugh
Version: .99
OS: linux
Submission from: (NULL) (24.116.10.99)
dataset$ema12 <- EMA (dataset$Close,12)
dataset$ema26 <- EMA (dataset$Close,26)
dataset$MACD_fast <- dataset$ema26 - dataset$ema12
dataset$MACD_slow <- EMA(dataset$MACD_fast,9)
dataset$MACD_hist <- dataset$MACD_fast - dataset$MACD_slow # This line doesnt
work!!!
But... if I does work if I
2012 Oct 15
1
trouble with extracting Date string from my data.
Hello,
I have trouble with extracting Date string from my each row data.
The date format I use is as the follows:
----------------------------------------------------------------------------
-----------
Index,Open,High,Low,Close # header
2011-11-01 9:00:00 ,248.50,248.95,248.20,248.70 ...
....
----------------------------------------------------------------------------
-----------
When I read
2005 Oct 09
1
Rmetrics fMultivar how to?
Hi Everybody,
I am a total beginner at this so please bear with me.
I downloaded by hand the file WIG20.txt (Warsaw Stock Exchange Index of 20
most important stocks). The format is this:
Name,Date,Open,High,Low,Close,Volume
WIG20,19940414,1000.00,1000.00,1000.00,1000.00,71600.000
WIG20,19940418,1050.50,1050.50,1050.50,1050.50,99950.000
WIG20,19940419,1124.90,1124.90,1124.90,1124.90,138059.000
2009 Jul 02
2
Need to study and learn about better plots
Hi,
So far my plotting needs have been sort of ignored as I got
acquainted with R this week, but now that I have the basics in place
for the program I wanted to write it's time for me to start learning
about how to make output that better suits my needs. I think I have
two sort of charts I need to concentrate on learning how to produce:
1) Probably a trivial request - a single chart that
2012 Sep 16
1
possible TZ bug in parseISO8601 - "Error in if (length(c(year, month, day, hour, min, sec)) == 6 && c(year, : [...]"
Hey all,
Virgin post to this list - hope I've got it right ;o)
I've been learning R intensively the last two weeks and gone from newbie
status to *reasonably* comfortable with it.
Here's an issue I just cannot solve however as it appears to be some kind
of bug in R itself. But I won't claim that for sure.
I have a function as follows:
FindHighRow <- function(searchVector,
2011 Nov 10
2
Error in axis ????
I did an update of both rstudio and my packages. I had some trouble but was
able to move a lot of the packages so most troubles seem to be behind me.
But having a problem with code that previously ran fine. See below:
require(quantmod)
Loading required package: quantmod
Loading required package: Defaults
Loading required package: xts
Loading required package: zoo
Attaching package: ?zoo?
The
2012 Jan 11
0
Error in charToDate(x)
Dear all,
I have a problem while working with hourly data of fx rates. I've read from
a csv file, the following way:
csv-file like:
Date,Open,High,Low,Close,Volume
2011-08-11 03:00:00,1.41758,1.42205,1.41625,1.42174,8974
...
2011-08-12 04:00:00,1.42175,1.42413,1.42067,1.42172,7229
...
2011-12-30 05:00:00,1.42173,1.42341,1.42062,1.42171,6703
...
raw<-
2009 Oct 28
2
Re ading and Creating Shape Files
Hello R Community,
I have imported a dataset which contain X Y coordinates and would like to
recreate a shape file after some data analysis. What i have done is to
import some taxlot data and join them based on some criteria. I want to
check to see how well the joining went by reviewing the results in GIS.
A couple things. I cant seem to import a shape file correctly using the
maptools