search for: sourcedata

Displaying 7 results from an estimated 7 matches for "sourcedata".

2009 Jul 14
2
Proper Paste for Data Member
...c... doing the following: tsSource <- ts(paste("sh$",NAMEVARIABLE,sep="") ... ) fails. The paste isn't evaluating properly. What is the proper way to concatenate a data source with a member name such that they evaluate properly. actual code below: doEnv <- function(SOURCEDATA,REGDATA,HOUR,ENVNAME,REPORTNAME) { print(SOURCEDATA) print(REGDATA) print(HOUR) print(ENVNAME) print(REPORTNAME) # blah blah blah ... #Raw Data channel1 <- odbcConnectExcel("Q:/metrics.xls") sqlTables(channel1) sh1 <- sqlFetch(channel1, "Actuals$") close(channel1) # Some...
2006 Apr 05
1
hist function: freq=FALSE for standardised histograms
...otal area of one). Defaults to 'TRUE' _iff_ 'breaks' are equidistant (and 'probability' is not specified). I therefore expect that the following command: > h <- hist(StockReturns, freq=FALSE) where StockReturns has the following data in it: > sourcedata$StockReturns [1] -0.006983 0.111565 0.053782 0.027966 0.068956 0.165424 -0.022133 [8] -0.001910 0.052174 0.072589 -0.023002 0.000521 -0.015688 0.148459 [15] 0.054111 0.141044 0.096686 -0.012256 -0.030397 0.039365 0.021407 [22] -0.175750 0.053901 -0.095730 0.129717 0.333333 0.061...
2009 Jul 15
2
Spaces in a name
I am reading regressors from an excel file (I have no control over the file) and some of the element names have spaces: i.e. "Small Bank Aquired" but I have found that lm(SourceData ~ . - "Small Bank Aquired", mcReg) doesn't work (mcReg = modelCurrentRegressors) As they are toggles I have ran them through factor() to be treated propertly as 0 or 1 but due to the fact I am grabbing automagically the first 2/3rds of the data some of the regressors are either all 0...
2010 Sep 07
1
problems with siar package
...urces), as.integer(numiso), as.integer(numgroups), as.integer(startgroup), as.integer(endgroup), as.integer(siardata$iterations), as.integer(siardata$burnin), as.integer(siardata$howmany), as.integer(siardata$thinby), as.double(prior), as.data.frame(data2), as.data.frame(concdepdata), as.data.frame(sourcedata), as.data.frame(correctionsdata), as.data.frame(parameters)) 2: siarmcmcdirichletv4(target, source, fraction, iterations = 5e+05, burnin = 1e+05, howmany = 2000, thinby = 10) Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R...
2009 Dec 03
0
Problem with predict() and factors
...s this week 0=no, 1=yes). The script is as follows (Written as a function): -- Begin Script -- doEnv <- function(HOUR,ENVNAME,REPORTNAME) { library(RODBC) library(forecast) library("geneplotter") library(forecast) library(fUtilities) library(TSA) require(gplots) library(robfilter) SOURCEDATA <- paste("Q:/TEST/RSTATS/EPOC ",HOUR," Metrics.xls",sep="") REGRESSORS <- "Q:/TEST/RSTATS/eventswithholidays.xls" mypalette=c() mypalette$background="#FFFFFF" mypalette$chart="#FFFFFF" mypalette$forecastRegion="#66CCFF" my...
2004 Aug 06
1
Stuttering stream after 1 minute
...ts connected [19/Mar/2001:22:44:43] [18:Source Thread] Kicking client 18 [...blanked hostname...] [Too many errors (client not receiving data fast enough)] [listener], connected for 38 seconds, 520399 bytes transfered. 0 clients connected - - - Anyway... I'm using shout (1.4.0-3) to stream the sourcedata without re-encoding to the server... Could that be a problem? I'm willing to try other packages like ices but not before I'm sure that the source client is the problem.. best regards, Jochem Berends ----- Original Message ----- From: "harvey smith" <harvey@buskers.org> To...
2004 Aug 06
2
liveice mount points
I have been sucessfully streaming with liveice/icecast. Now I want to add a second broadcast with differanct music. I thought I could just create a new dir, plop in a new liveice config file in the dir, with a diff mountpoint in the second config file and be on my way. But when i try this, the the second instance of liveice is kill instantly. Is this the correct way to stream two differant