Hi folks! I'm trying to get a histogram legend to give me a filled box
and a line. The problem is I keep getting both filled boxes and a line.
How can I get rid of the second box from the code below?
x<-rnorm(1000,mean=0,sd=1)
hist(x, breaks = 50, main="Histogram of x",freq=FALSE,
xla
See ?gc - it may help.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jamie Ledingham
Sent: Tuesday, August 12, 2008 9:16 AM
To: r-help@r-project.org
Subject: [R] Memory allocation problem
Dear R users,
I am running a large loop over about 400 files. To
gt; tail(DTB3)
TS.1
2008-07-23 1.56
2008-07-24 1.62
2008-07-25 1.71
2008-07-28 1.70
2008-07-29 1.69
2008-07-30 1.67
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Kerpel, John
Sent: Friday, August 01, 2008 1:13 PM
To: r-help@r-project
Hi Folks!
I used the code below previously with no problems, but now I get:
DTB3<-read.table("C:\\Program
Files\\R\\R-2.7.1\\DTB3.csv",header=TRUE,sep=",")
> tail(DTB3)
DATE VALUE
14233 2008-07-23 1.56
14234 2008-07-24 1.62
14235 2008-07-25 1.71
14236 2008-07-28 1.70
:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2008 11:57 AM
To: Kerpel, John
Cc: r-help@r-project.org
Subject: Re: [R] Multiple time series plots
have you tried package(zoo) it works very well and should do what you
want
On Wed, Jul 2, 2008 at 10:54 AM, Kerpel, John <[EMAIL PROTECTED]>
Hi all:
I'm trying to plot two time series created in Rmetrics and label the
x-axis with dates. I tried the following:
dates <- as.Date(seriesPositions(x.agg))
r <- as.Date(range(dates))
ts.plot([EMAIL PROTECTED],c(1,5)],gpars=list(ylab="Volume",
lty=c(1:2),xaxt="n",main="Plot of V
Hi folks!
How do I extract lags from a formula? An example:
mod.eq<-formula(x~lag(x,-1)+lag(x,-2))
> mod.eq
x ~ lag(x, -1) + lag(x, -2)
> mod.eq[1]
"~"()
> mod.eq[2]
x()
> mod.eq[3]
lag(x, -1) + lag(x, -2)()
I'm trying to extract the lags into a vector that would be simply [1,2
llazuanna [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 24, 2008 2:02 PM
To: Kerpel, John
Cc: r-help@r-project.org
Subject: Re: [R] Error using Rmetrics to read data
SP500$Date <- as.character(as.Date(as.character(SP500$Date), "%m/%d/%y"))
SP500<-as.timeSeries(SP500)
On 24/01/
Hi folks. This set of code used to work, but after upgrading to the
latest version of Rmetrics it no longer does. Any ideas?
SP500<-read.table("SP500.csv",header=TRUE,sep=",")
> head(SP500)
DateOpenHigh Low Close Volume Close2
1 8/4/2006 1280.26 1292.92 1273.82 1
Hi folks - After upgrading to the latest version of Rmetrics, I can't
read in data like I used to. Is anyone seeing the following? It seems
to truncate the dates after I use "as.timeSeries".
-John
SP500<-read.table("SP500.csv",header=TRUE,sep=",")
> head(SP500)
DateOpenHig
Are you using the latest version of R - with the patch?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Balazs Torma
Sent: Wednesday, October 31, 2007 11:44 AM
To: r-help@r-project.org
Cc: [EMAIL PROTECTED]
Subject: [R] problem with package fSeries
Helo,
11 matches
Mail list logo