Re: [R] importing numeric types via sqlQuery

2010-10-11 Thread E C
s' to show it if you want > to. Also with floating point, you will only get about 15 digits of > accuracy (see FAQ 7.31). > > > On Mon, Oct 11, 2010 at 4:19 PM, E C wrote: > > > > Hi everyone, > > I am using the sqlQuery function (in RODBC lib

[R] importing numeric types via sqlQuery

2010-10-11 Thread E C
Hi everyone, I am using the sqlQuery function (in RODBC library) to import data from a database into R. My table (called temp) in the database looks like this: categorynumabc 54469517.307692307692def36428860.230769230769 I used the following R code to pull data into R:data <-sqlQ

[R] positioning of color key in levelplot

2008-05-11 Thread E C
Is there a way of positioning the color key in levelplot when the axes are on a categorical (rather than numerical) scale? I've put some sample code below. I need to add a secondary y axis to the right side of my plot but then the labels interfere with the color key (which is currently on the ri

Re: [R] significance threshold in CCF

2008-05-08 Thread E C
extracting the value used? Thanks again! > Date: Thu, 8 May 2008 19:54:25 +0100 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: [R] significance threshold in CCF > CC: r-help@r-project.org > > On 08-May-08 18:23:27, E C wrote: > > Hi everyone, > >

[R] significance threshold in CCF

2008-05-08 Thread E C
Hi everyone, When the CCF between two series of observations is plotted in R, a line indicating (presumably) the significance threshold appears across the plot. Does anyone know how this threshold is determined (it is different for each set of series) and how its value can be extracted from R?

[R] xreg in ARIMA function

2008-01-31 Thread E C
Hi everyone, I'm trying to include an external regressor in my ARIMA model but am having some problems with the data format in R. I've named my dependent variable of interest "count" and the external regressor "abc". The external regressor is a binary variable. Here are the contents of