search for: belsar

Displaying 10 results from an estimated 10 matches for "belsar".

Did you mean: belsare
2008 Jan 10
5
diff in a dataframe
...st row of these columns cannot be computed, but can I coerce this to happen and assign a missing value there? It would be really great if I could do that, because in this case I don't have to re-index my transformed series to the dates again in a new dataframe. Thanks in anticipation. Vishal Belsare
2007 Oct 15
3
for loop if else conditional
...mp; date$wday != 6) {print(date);assign("date", (date-86400))} else (assign("date", (date-86400))) I am trying to print dates from present day to a day in the past, but omitting weekends. I am not doing something right, but can't figure out what. Help appreciated! Vishal Belsare
2007 Oct 15
1
String concatenation, File Path Handling to pass to download.file( ) [backslash in DOS paths]
...The code you already suggested would help me make the date sequence, but I am not sure how I could extract the mmddyy string from it. Also, I might end up making a list for dates extending to about 10 years in the past (~2600 working days), so I was more keen on not creating one long list. Vishal Belsare On 10/15/07, Gabor Grothendieck <ggrothendieck at gmail.com> wrote: > See ?seq.Date, e.g. > > now <- Sys.Date() > dd <- seq(now - 20, now, by = "day") > dd[as.POSIXlt(dd)$wday %% 6 != 0] > > and have a look at R News 4/1. > > On 10/15/07,...
2007 Oct 16
1
try / tryCatch for download.file( ) within a for loop when URL does not exist
....error.messages = FALSE) #options(warn = -1) try(download.file(url, destfile = file, quiet = TRUE, mode = "wb"), finally = cat("OK:",url,\n)) date <- as.POSIXlt(as.Date(date - 86400)) } else {date <- as.POSIXlt(as.Date(date - 86400))} } # end script Thanks, Vishal Belsare
2008 Jan 14
1
zoo object
...-01-16 1993-01-23 1993-01-30 1993-02-06 0.007306621 0.007659046 0.007681013 0.007817548 0.007847579 0.007867313 I want to insert values between each of the dates, and copy the previous value for those days. Any suggestions would be greatly appreciated. Thanks in anticipation. Regards, Vishal Belsare
2008 Apr 04
1
RODBC / odbcConnectExcel Issue
Can someone throw light on the following problem I am having with RODBC? There's an Excel file I am trying to read from, it has one sheet named 'nameclass'. Thanks in anticipation. Vishal Belsare > library(RODBC) > con = odbcConnectExcel(file.choose()) > tbls <- sqlTables(con) > tbls TABLE_CAT TABLE_SCHEM TABLE_NAME TABLE_TYPE REMARKS 1 T:\\data\\in\\nameclass <NA> nameclass$ SYSTEM TABLE <NA> > qry = paste("SELECT * FROM ...
2009 Mar 26
1
ApEn (Approximate Entropy), Total Corr, Information Interaction
.../S of : 1] Pincus & Kalman's approximate entropy (ApEn) measure 2] Total Correlation / Multiinformation 3] Information Interaction A search doesn't quite reveal anything, but I'd be keen to not reinvent in case someone has worked on it. Many thanks in anticipation. Best, Vishal Belsare
2008 May 25
1
n Realizations of a Stochastic Process assigned to dynamically generated variable names?
...r I can create variable names dynamically and assign values to them. #begin tsn <- (10); for (i in 1:250) { tsn <- c(tsn, tsn[i] + rnorm(1, mean=0.01, sd=0.025)) }; plot.ts(tsn, lwd=2, col="maroon"); #end Thanks in anticipation. Best Regards Vishal Belsare
2008 May 31
1
Representing 'Date' as 'Year - Quarter'
...on this is that I can then shape my further sub-setting in a form like which(... date == "1998 Q2") or so instead of forcing myself to write "1998/06/30" which would indicate end of second quarter (I just think that is redundant). Thanks in anticipation. Best Regards Vishal Belsare
2010 Mar 10
6
Email section
...rver_setting'' for it... Following is the method: config.action_mailer.server_settings = { :address => "smtp.gmail.com" , :port => 25, :domain => "gmail.com" , :authentication => :login, :user_name => "manish" , :password => "belsare" } sir but wen i restart my web server following errors are generated: [root@localhost ksmm]# script/server => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3000 /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#v...